deno.land / std@0.166.0 / http / testdata / simple_server.ts

simple_server.ts
نووسراو ببینە
1
2
3
4
5
6
// 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 });
std

Version Info

Tagged at
a year ago