Skip to content

ExtendedRequestOptions

@blobs/sdk v0.1.0


@blobs/sdk / utils/types / ExtendedRequestOptions

ExtendedRequestOptions = object

Defined in: utils/types.ts:176

Per-call request options accepted by SDK service methods.

Renamed from RequestOptions to avoid colliding with the transport type.

Properties

cache?

optional cache?: boolean

Defined in: utils/types.ts:178

Whether to consult/update the local cache for this call.


retry?

optional retry?: number

Defined in: utils/types.ts:180

Number of automatic retries on network/5xx failure.


timeout?

optional timeout?: number

Defined in: utils/types.ts:182

Request timeout in milliseconds.


signal?

optional signal?: AbortSignal

Defined in: utils/types.ts:184

Optional AbortSignal to cancel the call.