reqwest-middleware/reqwest-retry/README.md

1.4 KiB

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.