コンテンツにスキップ

X402FacilitatorRetryOptions

このコンテンツはまだ日本語訳がありません。

Defined in: src/x402/facilitator.ts:804

How createHttpFacilitator resends a request the facilitator could not take. Every field is optional; see CreateHttpFacilitatorParams.retry.

Properties

budgetMs?

readonly optional budgetMs?: number

Defined in: src/x402/facilitator.ts:811

Wall-clock budget for one call, attempts and waits included, in milliseconds: no resend is started whose wait would end past it. Default 10_000.


initialDelayMs?

readonly optional initialDelayMs?: number

Defined in: src/x402/facilitator.ts:813

Wait before the first resend when the facilitator sent no Retry-After. Default 500; doubles.


maxAttempts?

readonly optional maxAttempts?: number

Defined in: src/x402/facilitator.ts:806

Attempts per call, the first included. Default 3.