Skip to main content

Type Alias: BeeRequestOptions

BeeRequestOptions = object

Defined in: bee-js/src/types/index.ts:51

Behavior of the HTTP client, such as timeout, additional headers, custom httpAgent, etc.

Extended by

Properties

baseURL?

optional baseURL: string

Defined in: bee-js/src/types/index.ts:52


endlesslyRetry?

optional endlesslyRetry: boolean

Defined in: bee-js/src/types/index.ts:58


headers?

optional headers: Record<string, string>

Defined in: bee-js/src/types/index.ts:54


httpAgent?

optional httpAgent: unknown

Defined in: bee-js/src/types/index.ts:56


httpsAgent?

optional httpsAgent: unknown

Defined in: bee-js/src/types/index.ts:57


onRequest()?

optional onRequest: (request) => void

Defined in: bee-js/src/types/index.ts:55

Parameters

request

BeeRequest

Returns

void


signal?

optional signal: AbortSignal

Defined in: bee-js/src/types/index.ts:59


timeout?

optional timeout: number

Defined in: bee-js/src/types/index.ts:53

💬 Get Help