跳转到内容

@freenotes/web-runtime


@freenotes/web-runtime / HttpRetryConfig

Interface: HttpRetryConfig ​

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

Properties ​

backoffFactor ​

readonly backoffFactor: number

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


delayMs ​

readonly delayMs: number

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


maxRetries ​

readonly maxRetries: number

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


retryableErrorCodes ​

readonly retryableErrorCodes: readonly string[]

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


retryableMethods ​

readonly retryableMethods: readonly HttpMethod[]

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


retryableStatusCodes ​

readonly retryableStatusCodes: readonly number[]

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

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