Module

x/servest/server.ts>IncomingRequest

🌾A progressive http server for Deno🌾
Latest
interface IncomingRequest
implements BodyParser
import { type IncomingRequest } from "https://dotland.deno.dev/x/servest@v1.3.4/server.ts";

Incoming http request for handling request from client

Properties

url: string

Raw requested URL (path + query): /path/to/resource?a=1&b=2

path: string

Path part of url: /path/to/resource

Parsed query part of url: ?a=1&b=2

method: string

HTTP method

proto: string

requested protocol. like HTTP/1.1

headers: Headers

HTTP Headers

HTTP Body

cookies: Map<string, string>

Cookie

optional
keepAlive: KeepAlive

keep-alive info