@xoxno/sdk-js
    Preparing search index...

    Type Alias OurRequestInit

    OurRequestInit: Omit<RequestInit, "body" | "headers"> & {
        debug?: boolean;
        headers?: SafeHeaders;
        timeout?: number;
    }

    Type Declaration

    • Optionaldebug?: boolean
    • Optionalheaders?: SafeHeaders
    • Optionaltimeout?: number

      Milliseconds before the request is aborted, as a client-wide default or a per-call override. 0 disables the deadline for that call.

      Defaults to DEFAULT_REQUEST_TIMEOUT_MS for requests with no body. Requests that send a body are left unbounded by default because their duration depends on the caller's uplink — a multipart upload on a slow mobile connection is not a stalled request. Pass timeout explicitly to bound those.