Module client

Source
Available on crate features http1 or http2 only.
Expand description

Includes helper functions to build Clients, and some re-exports from hyper::client or hyper_tls.

Structs§

Builder
A builder to configure a new Client.
Client
A Client to make outgoing HTTP requests.
HttpConnector
A connector for the http scheme.
HttpsConnectorhttps
A Connector for the https scheme.
NativeTlsConnectornativetls
A Connector for the https scheme.
RustlsConnectorrustls
A Connector for the https scheme.

Functions§

builder
Default Builder.
http_default
Same as Client::new(), except for the B parameter.
https_defaulthttps or nativetls
Alias to nativetls_default().
nativetls_defaultnativetls
With the default hyper_tls::HttpsConnector.
rustls_defaultrustls
With the default hyper_rustls::HttpsConnector.
with_connector_default
Default builder and given connector.