@fluentity/core
    Preparing search index...

    Interface RequestOptions

    Configuration options for HTTP requests. Extends the standard Fetch API RequestInit interface with additional options.

    interface RequestOptions {
        cache?: RequestCache;
        credentials?: RequestCredentials;
        headers?: Record<string, string>;
        integrity?: string;
        keepalive?: boolean;
        mode?: RequestMode;
        redirect?: RequestRedirect;
        referrer?: string;
        referrerPolicy?: ReferrerPolicy;
        signal?: AbortSignal;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cache?: RequestCache

    Cache mode

    credentials?: RequestCredentials

    Request credentials mode

    headers?: Record<string, string>

    Request headers

    integrity?: string

    Subresource integrity value

    keepalive?: boolean

    Whether to keep the connection alive

    mode?: RequestMode

    Request mode

    redirect?: RequestRedirect

    How to handle redirects

    referrer?: string

    Referrer URL

    referrerPolicy?: ReferrerPolicy

    Referrer policy

    signal?: AbortSignal

    Abort signal for cancelling the request