Type Alias ruma_client::http_client::Hyper
source · 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
.