Skip to main content
Module

x/pogo/main.ts>Request

Server framework for Deno
Latest
class Request
import { Request } from "https://deno.land/x/pogo@v0.6.0/main.ts";

A request represents an incoming message that your server should respond to. Pogo passes a request instance as the first argument to route handlers.

Constructors

new
Request(options: RequestOptions)

Properties

readonly
body
readonly
headers
readonly
host
readonly
hostname
readonly
href
readonly
method
readonly
origin
readonly
params
readonly
path
raw: Request
readonly
referrer
response: ServerResponse
route: MatchedRoute
readonly
searchParams
server: Server
state: RequestState
url: URL