import { type Deno } from "https://deno.land/x/deno@v1.32.3/cli/tsc/dts/lib.deno.ns.d.ts";
const { RequestEvent } = Deno;
The event yielded from an HttpConn
which represents an HTTP
request from a remote client.
Methods
The method to be used to respond to the event. The response needs to
either be an instance of Response
or a promise that resolves
with an instance of Response
.
When the response is successfully processed then the promise returned will be resolved. If there are any issues with sending the response, the promise will be rejected.