pub type DefaultHttpWebClient<Body = Body> = EasyHttpWebClient<Body, EstablishedClientConnection<AltSvc<BindBodyToConn<MultiplexedConnection<HttpClientService<Body>, HttpConnId>>>, Request<Body>>, ()>;Available on crate features
dns and http-backend and http and std and tcp only.Expand description
Rama’s default asynchronous HTTP(S) client, including its default multiplexing connection pool.
With BoringSSL or Rustls plus ring/aws-lc, HTTP/3 is available through
alternative-service discovery or an explicit HTTP/3 request. Its shared UDP
endpoint is bound lazily, so constructing the client requires no runtime.
Like a browser it resumes TLS sessions (with BoringSSL, also over TCP), which lets servers link the connections of one client. It acts for a single user: proxies relay traffic instead of sharing one client between their users.
Aliased Type§
pub struct DefaultHttpWebClient<Body = Body> { /* private fields */ }