跳转到内容

@freenotes/web-runtime


@freenotes/web-runtime / HttpRetryOptions

Interface: HttpRetryOptions ​

Defined in: src/http/types.ts:15

Properties ​

backoffFactor? ​

optional backoffFactor?: number

Defined in: src/http/types.ts:18


delayMs? ​

optional delayMs?: number

Defined in: src/http/types.ts:17


maxRetries? ​

optional maxRetries?: number

Defined in: src/http/types.ts:16


retryableErrorCodes? ​

optional retryableErrorCodes?: readonly string[]

Defined in: src/http/types.ts:19


retryableMethods? ​

optional retryableMethods?: readonly HttpMethod[]

Defined in: src/http/types.ts:20


retryableStatusCodes? ​

optional retryableStatusCodes?: readonly number[]

Defined in: src/http/types.ts:21

让基础能力保持简单,让业务开发更加专注。