Skip to main content
Latest
interface oak.ServerRequest
import { type oak } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { ServerRequest } = oak;

An interface that aligns to the parts of std/http/server's ServerRequest that actually is consumed by oak.

Properties

conn: Deno.Conn
headers: Headers
method: string
r: BufReader
url: string
w: BufWriter

Methods

respond(response: ServerResponse): Promise<void>