mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 02:46:30 +00:00
c54a7733b9
``` error: doc list item missing indentation Error: --> reqwest-retry/src/middleware.rs:62:4 | 62 | /// `Body`'s `From<String>` or `From<Bytes>` implementations. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]` help: indent this line | 62 | /// `Body`'s `From<String>` or `From<Bytes>` implementations. | ++ error: doc list item missing indentation Error: --> reqwest-retry/src/middleware.rs:65:4 | 65 | /// source directly, avoiding the issue of streaming requests not being clonable. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 65 | /// source directly, avoiding the issue of streaming requests not being clonable. | ++ error: could not compile `reqwest-retry` (lib) due to 2 previous errors ``` |
||
---|---|---|
.. | ||
src | ||
tests/all | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
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.