734 B
734 B
Implementation Spec: Round 8 — COMPLETE
New Feature
ResilientHttpClient (mytheclipse-http, resilience)
File: crates/mytheclipse-http/src/resilient_client.rs
ResilientHttpClient— reqwest Client + ServiceBuilder pipeline (retry/circuit/timeout)ResilientClientConfig— timeout, max_attempts, rate, circuit_breakersend(req)/get(url)/post(url, body)— all run through ServiceBuilder::run- Error type
RunError<Box<dyn Error>>(HttpError alias) - 2 tests
Modified
- http/Cargo.toml: +resilience feature, mytheclipse dep features=full
- http/lib.rs: +module +export
- core/lib.rs: pub use RunError, ServiceConfig from service_builder
Build: exit 0. Tests: 0 FAILED. Clippy: 0 new warnings.