import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { HttpServer } = Deno;
An instance of the server created using Deno.serve()
API.
Properties
A promise that resolves once server finishes - eg. when aborted using
the signal passed to ServeOptions.signal
.
addr: Addr
The local address this server is listening on.
Methods
Make the server block the event loop from finishing.
Note: the server blocks the event loop from finishing by default.
This method is only meaningful after .unref()
is called.