Skip to main content
Module

x/pogo/main.ts>Request

Server framework for Deno
Go to Latest
class Request
import { Request } from "https://deno.land/x/pogo@v0.5.2/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
headers: Headers
readonly
host
readonly
hostname
readonly
href
method: string
readonly
origin
params: RequestParams
readonly
path
raw: http.ServerRequest
referrer: string
response: Response
route: MatchedRoute
readonly
searchParams
server: Server
state: Record<string, string>
url: URL