Stone.js API
    Preparing search index...

    A canonical HTTP request derived from an Alibaba FC HTTP request.

    FC hands the handler a plain request object with the body already read into a Buffer, so normalisation lifts headers/cookies/ip/body into a plain, agnostic shape the rest of the adapter can use without ever touching an FC-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 (FC clientIP, then 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.