Documentation
    Preparing search index...
    interface RequestOptions {
        abortSignal?: AbortSignal;
        headers?: Record<string, string>;
        maxRetries?: number;
        timeoutInSeconds?: number;
    }
    Index

    Properties

    abortSignal?: AbortSignal

    A hook to abort the request.

    headers?: Record<string, string>

    Additional headers to include in the request.

    maxRetries?: number

    The number of times to retry the request. Defaults to 2.

    timeoutInSeconds?: number

    The maximum time to wait for a response in seconds.