Stone.js API
    Preparing search index...

    The Azure Functions v4 HTTP response shape (@azure/functions HttpResponseInit).

    The handler returns this object; the Functions host turns it into the wire response. headers accepts a Headers instance, which is how repeated Set-Cookie values are emitted correctly.

    interface AzureHttpResponseInit {
        body?: BodyInit;
        headers?: Record<string, string> | Headers;
        status?: number;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Extra Azure-specific members (jsonBody, cookies, …).

    Index
    body?: BodyInit

    Response body.

    headers?: Record<string, string> | Headers

    Response headers (a Headers instance to allow repeated Set-Cookie).

    status?: number

    HTTP status code.