import { RequestEvent } from "https://deno.land/x/nhttp@1.2.4/index.ts";
Methods
respondWith(r: Response | PromiseLike<Response>): void | Promise<void>
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
.
This method tells the event dispatcher that work is ongoing. It can also be used to detect whether that work was successful.
[Symbol.for("Deno.customInspect")](inspect: TRet, opts: TRet)