Setu-TS
    Preparing search index...

    Interface NodeIncomingMessage

    A Node IncomingMessage, narrowed to what building an upgrade Request needs.

    0.2.0

    interface NodeIncomingMessage {
        headers: Record<string, string | string[] | undefined>;
        method?: string;
        url?: string;
    }
    Index
    headers: Record<string, string | string[] | undefined>

    Raw headers, as Node's lowercase-keyed object.

    method?: string

    The HTTP method.

    url?: string

    The request target (path plus query), as Node reports it.