Expand description
Configurable retry policy for transient client errors.
Wraps any Transport to automatically retry on transient failures
(connection errors, timeouts, server 5xx responses) with exponential
backoff.
§Example
use a2a_protocol_client::{ClientBuilder, RetryPolicy};
let client = ClientBuilder::new("http://localhost:8080")
.with_retry_policy(RetryPolicy::default())
.build()?;Structs§
- Retry
Policy - Configuration for automatic retry with exponential backoff.