@voidmerge/doc
    Preparing search index...

    Interface RequestOptions

    Optional per-request tuning shared by the client API calls.

    interface RequestOptions {
        connectionClose?: boolean;
        timeoutMs?: number;
    }
    Index

    Properties

    connectionClose?: boolean

    When true, send a Connection: close header so the connection is not reused from a pool. This is a safeguard against stale keep-alive connections on Node (browsers ignore this header and manage their own connection pooling). Defaults to false.

    timeoutMs?: number

    Per-request timeout in milliseconds. Defaults to 30000. A timeout aborts the request rather than hanging indefinitely.