Skip to main content
Module

x/aleph/types.ts>ServerRequest

The Full-stack Framework in Deno.
Very Popular
Go to Latest
interface ServerRequest
import { type ServerRequest } from "https://deno.land/x/aleph@v0.3.0-alpha.16/types.ts";

An interface that aligns to the parts of std http srever's ServerRequest.

Properties

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

Methods

respond(r: ServerResponse): Promise<void>