Stone.js API
    Preparing search index...

    A canonical HTTP request derived from a Web Request.

    A Request is already the Web standard, so normalisation is mostly a matter of reading the (single-shot) body once and lifting headers/cookies/ip into a plain, agnostic shape the rest of the adapter can use without ever touching a runtime-specific API.

    interface NormalizedRequest {
        cookies: string[];
        headers: Record<string, string>;
        ip: string;
        method: string;
        rawBody?: string | Uint8Array<ArrayBufferLike>;
        rawQueryString: string;
        url: URL;
    }
    Index
    cookies: string[]

    Raw cookie strings (e.g. ['a=1', 'b=2']).

    headers: Record<string, string>

    Lower-cased headers.

    ip: string

    Best-effort client IP from forwarding headers.

    method: string

    The HTTP method (upper-case).

    rawBody?: string | Uint8Array<ArrayBufferLike>

    The raw request body (text for textual content types, bytes otherwise, undefined if none).

    rawQueryString: string

    The raw query string (without the leading ?).

    url: URL

    The absolute request URL.