Re-exports§
pub use middleware::Follow;
pub use middleware::Logger;
pub use middleware::Middleware;
pub use middleware::Next;
pub use middleware::Recorder;
pub use middleware::Retry;
pub use middleware::TotalTimeout;
Modules§
- header
- HTTP header types
- header_
ext - middleware
- multipart
- recorder
Structs§
- Client
- Header
Name - Represents an HTTP header field name
- Method
- The Request Method (VERB)
- Request
Builder - Provide a custom request builder for several reasons:
- Status
Code - An HTTP status code (
status-code
in RFC 9110 et al.). - Uri
- The URI component of a request.
Enums§
Traits§
- InMemory
Response Ext - Attempt to clear sensitive information from the response.
- Request
Builder Ext - Request
Ext - Response
Ext
Functions§
- client
- Use the shared, global client
- init_
shared_ client - Use this to customize the shared client. Must be called before any requests are made, otherwise it will have no effect.