IGPAPI
    Preparing search index...

    Interface HttpRequest

    interface HttpRequest {
        body?: string | Buffer<ArrayBufferLike>;
        context?: RequestContext;
        form?: Record<string, string | undefined>;
        friendlyName?: string;
        gzip?: boolean;
        headers?: HttpHeaders;
        method?: string;
        searchParams?: Record<string, string | number | boolean | null | undefined>;
        url: string;
    }
    Index

    Properties

    body?: string | Buffer<ArrayBufferLike>
    context?: RequestContext

    Semantic request context. It describes app intent, not direct header effects.

    form?: Record<string, string | undefined>
    friendlyName?: string

    Friendly name for the request, sent as x-fb-friendly-name header.

    gzip?: boolean

    Compress the request body with gzip. transport should handle compression and set the Content-Encoding header.

    headers?: HttpHeaders
    method?: string
    searchParams?: Record<string, string | number | boolean | null | undefined>
    url: string