Stone.js API
    Preparing search index...

    The Azure Functions v4 HTTP request (@azure/functions HttpRequest).

    It is Web-standard (built on undici): url is absolute, headers is a Headers, and the body is read once via arrayBuffer(). Duck-typed here to the members the normalizer uses, so the adapter carries no @azure/functions runtime dependency.

    interface AzureHttpRequest {
        arrayBuffer: () => Promise<ArrayBuffer>;
        body?: ReadableStream<Uint8Array<ArrayBufferLike>>;
        headers: Headers;
        method: string;
        url: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Extra Azure-specific members (query, params, user, …).

    Index
    arrayBuffer: () => Promise<ArrayBuffer>

    Reads the body once as bytes.

    body?: ReadableStream<Uint8Array<ArrayBufferLike>>

    The request body stream, or null when there is none.

    headers: Headers

    The request headers.

    method: string

    The HTTP method.

    url: string

    The absolute request URL.