Docs

Interface: RequestOptions

Interface: RequestOptions

Per-call options that override client settings.

Properties

headers?

optional headers?: Record<string, string>;

Additional headers, merged over defaultHeaders.


retry?

optional retry?: Partial<RetryPolicy>;

Retry overrides for this call; omitted fields inherit client settings.


signal?

optional signal?: AbortSignal;

Cancellation signal for the request and pending retries.


timeout?

optional timeout?: number;

Timeout per attempt in milliseconds; there is no total retry budget.