pub type Hyper<C = HttpConnector> = Client<C, Full<Bytes>>;
Available on crate feature
hyper
only.Expand description
A hyper HTTP client.
The default connector is rarely useful, since it doesn’t support https
.
Aliased Type§
struct Hyper<C = HttpConnector> { /* private fields */ }
Trait Implementations§
Source§impl<C> HttpClient for Hyper<C>
impl<C> HttpClient for Hyper<C>
Source§type RequestBody = BytesMut
type RequestBody = BytesMut
The type to use for
try_into_http_request
.Source§type ResponseBody = Bytes
type ResponseBody = Bytes
The type to use for
try_from_http_response
.