Structs§
- Intercepted
Request Builder - A request that passed the interceptor hook, carrying the hook its response goes through. It
sends like a
reqwest::RequestBuilderwithRequestBuilderExt. - Retriable
Request Builder - A
reqwest::RequestBuilderwrapper that automatically retries failed requests using an exponential back-off strategy powered by thebackoncrate. UseRequestBuilderExt::with_retryto construct one.
Traits§
- Request
Builder Ext - Extension trait for
reqwest::RequestBuilderto add JSON and XML response handling
Functions§
- default_
retry_ backoff - The exponential back-off the cloud clients retry with unless a request overrides it: up to 3 retries, each delay up to 20s.
- handle_
json_ response - Handle an HTTP response by checking status and parsing JSON on success
- handle_
no_ response - Handle an HTTP response by checking status without parsing the body
- handle_
xml_ response - Handle an HTTP response by checking status and parsing XML on success
- redact_
request_ body - Strips the captured HTTP request body from every layer of an error chain.
- redact_
response_ body - Strips the body of a successful (2xx) response from every layer of an error chain.
- redact_
secret_ bodies - Redacts both bodies of a call whose request and success response hold secrets.