OptionalconditionPredicate that decides whether a request should receive a key.
Defaults to true for POST, PUT, PATCH, DELETE.
OptionalheaderHeader name to use for the idempotency key.
Defaults to "X-Idempotency-Key".
OptionalkeyCustom key generator. Receives (url, init) and returns a string.
Defaults to generating a UUID v4.
The key must be stable across retries of the same logical request. When not provided, a UUID is generated once and reused on retry.
Configuration for idempotency.