Interface an HTTP request class. Contains addressing information in addition to standard message properties.

interface HttpRequest {
    body?: any;
    fragment?: string;
    headers: HeaderBag;
    hostname: string;
    method: string;
    password?: string;
    path: string;
    port?: number;
    protocol: string;
    query?: QueryParameterBag;
    username?: string;
}

Hierarchy (view full)

Properties

body?: any
fragment?: string
headers: HeaderBag
hostname: string
method: string
password?: string
path: string
port?: number
protocol: string
username?: string