deno.land / std@0.166.0 / http / testdata / simple_server.ts
123456// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.// This is an example of a server that responds with an empty bodyimport { serve } from "../server.ts";
await serve(() => new Response(), { port: 4504 });
Version Info