reqwest-middleware/reqwest-retry
Rodrigo Gryzinski a760d3b9cd Initial commit 2021-08-12 19:15:07 +01:00
..
src Initial commit 2021-08-12 19:15:07 +01:00
tests Initial commit 2021-08-12 19:15:07 +01:00
.gitignore Initial commit 2021-08-12 19:15:07 +01:00
CHANGELOG.md Initial commit 2021-08-12 19:15:07 +01:00
Cargo.toml Initial commit 2021-08-12 19:15:07 +01:00
README.md Initial commit 2021-08-12 19:15:07 +01:00

README.md

reqwest-retry

Retry middleware implementation for reqwest-middleware.

Crates.io Docs.rs CI Coverage Status

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.