Module http_client

Module http_client 

Source

Modules§

retry
Helpers to handle connection delays when receiving errors
sse
An SSE implementation that leverages crate::http_client::HttpClientExt to allow streaming with automatic retry handling for any implementor of HttpClientExt.

Structs§

Builder
An HTTP request builder
HeaderMap
A set of HTTP headers
HeaderValue
Represents an HTTP header field value.
Method
The Request Method (VERB)
NoBody
Request
Represents an HTTP request.
Response
Represents an HTTP response
Uri
The URI component of a request.

Enums§

Error

Traits§

HttpClientExt
A helper trait to make generic requests (both regular and SSE) possible.

Functions§

bearer_auth_header
make_auth_header
text
with_bearer_auth

Type Aliases§

LazyBody
LazyBytes
Result
StreamingResponse