trillium-client-retry
Automatic retry/backoff middleware for the trillium HTTP client. Drop
RetryHandler onto a Client and failed requests — transport errors or retryable statuses
(429, 503 by default) — are re-issued with configurable backoff, honoring a server-advertised
Retry-After, bounded by a max-attempts count and a wall-clock budget. Idempotent methods only by
default; request bodies are replayed when they can be cloned.
Example
use Duration;
use Client;
use RetryHandler;
use client_config;
let client = new.with_handler;
Safety
This crate uses #![forbid(unsafe_code)].