mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 02:46:30 +00:00
f854725791
* feat: classify io error connection reset by peer * doc: explain tests * chore: add changelog * fix: use and_then * chore: docs and clippy * chore: bump reqwest-retry to 0.2.1 * fix: use get_source_error_type * fix: remove unused import * fix: make clippy happy * doc: describe canceled |
||
---|---|---|
.. | ||
src | ||
tests/all | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
README.md |
reqwest-retry
Retry middleware implementation for
reqwest-middleware
.
Overview
Build RetryTransientMiddleware
from a RetryPolicy
, then attach it to a
reqwest_middleware::ClientBuilder
.
retry-policies::policies
is reexported under
reqwest_retry::policies
for convenience.
See reqwest_middleware
for usage with reqwest.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.