mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 19:06:31 +00:00
e0b01383d6
* feat: disable default features for reqwest |
||
---|---|---|
.. | ||
src | ||
tests | ||
.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.
How to install
Add reqwest-retry
to your dependencies
[dependencies]
# ...
reqwest-retry = "0.1.0"
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.