Module hyper_014

Source
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§

HyperClientBuilder
Builder for a hyper-backed HttpClient implementation.
HyperConnector
HttpConnector that uses hyper_0_14 to make HTTP requests.
HyperConnectorBuilder
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 an SharedAsyncSleep, create a SharedHttpConnector from defaults depending on what cargo features are activated.