Stone.js API
    Preparing search index...

    The Alibaba Cloud Function Compute HTTP request (FC 2.0 (req, resp, context) model).

    FC reads the body for you and hands the handler a plain request object (not a Node stream): the path, method, headers, the client IP, and the body as a Buffer. Duck-typed here to the members the normalizer uses, so the adapter carries no Alibaba SDK runtime dependency.

    interface AlibabaFcHttpRequest {
        body?: Buffer;
        clientIP?: string;
        headers: Record<string, string | string[] | undefined>;
        method: string;
        path?: string;
        queries?: Record<string, string | string[]>;
        url?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Extra FC-specific members.

    Index
    body?: Buffer

    The request body, pre-read by FC.

    clientIP?: string

    The client IP resolved by the FC HTTP trigger.

    headers: Record<string, string | string[] | undefined>

    The request headers (plain object).

    method: string

    The HTTP method.

    path?: string

    The request path without query string.

    queries?: Record<string, string | string[]>

    The parsed query parameters.

    url?: string

    The request path with query string (e.g. /tasks?done=1).