IFClite TypeScript API
    Preparing search index...

    Interface HttpRequestOptions

    interface HttpRequestOptions {
        body?: unknown;
        errorLabel?: string;
        errorNamespace?: string;
        getAccessToken?: BcfTokenProvider;
        headers?: Record<string, string>;
        method?: string;
        rawBody?: BodyInit;
        signal?: AbortSignal;
        timeoutMs?: number;
    }
    Index
    body?: unknown
    errorLabel?: string
    errorNamespace?: string
    getAccessToken?: BcfTokenProvider
    headers?: Record<string, string>
    method?: string
    rawBody?: BodyInit

    Set when the body is already the wire representation (e.g. binary upload).

    signal?: AbortSignal

    Cancels the request. A rejection after the request was handed to fetch does not tell the caller whether the server applied a write: treat it as an unknown outcome, never as "not sent".

    timeoutMs?: number

    Wall-clock limit in milliseconds; expiry aborts the request like signal.