import { RequestEvent } from "https://deno.land/x/nhttp@1.2.21/index.ts";
Constructors
new
RequestEvent(request: Request)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.
[deno_inspect](inspect: TRet, opts: TRet)