Available on crate features
client
and connector-hyper-0-14-x
only.Expand description
Default HTTP and TLS connectors that use hyper 0.14.x and rustls.
This module is named after the hyper version number since we anticipate needing to provide equivalent functionality for hyper 1.x in the future.
Structs§
- Hyper
Client Builder - Builder for a hyper-backed
HttpClient
implementation. - Hyper
Connector HttpConnector
that useshyper_0_14
to make HTTP requests.- Hyper
Connector Builder - Builder for
HyperConnector
.
Functions§
- default_
client - Creates a hyper-backed HTTPS client from defaults depending on what cargo features are activated.
- default_
connector - Given
HttpConnectorSettings
and anSharedAsyncSleep
, create aSharedHttpConnector
from defaults depending on what cargo features are activated.