reqwest-middleware/reqwest-retry
tl-helge-hoff f854725791
feat: classify io error connection reset by peer (#78)
* 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
2022-12-02 10:57:24 +01:00
..
src feat: classify io error connection reset by peer (#78) 2022-12-02 10:57:24 +01:00
tests/all feat: classify io error connection reset by peer (#78) 2022-12-02 10:57:24 +01:00
.gitignore Initial commit 2021-08-13 08:59:58 +01:00
CHANGELOG.md feat: classify io error connection reset by peer (#78) 2022-12-02 10:57:24 +01:00
Cargo.toml feat: classify io error connection reset by peer (#78) 2022-12-02 10:57:24 +01:00
README.md Include README in crate doctests and improve documentation (#8) 2021-09-28 19:26:03 +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.

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.