class NativeRequest
implements ServerRequest
import { NativeRequest } from "https://deno.land/x/oak@v12.3.1/http_server_native_request.ts";
An internal oak abstraction for handling a Deno native request. Most users of oak do not need to worry about this abstraction.
Constructors
new
NativeRequest(requestEvent: RequestEvent, options?: NativeRequestOptions)Properties
Methods
error(reason?: any): void
upgrade(options?: UpgradeWebSocketOptions): WebSocket