Skip to main content

Module client

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_util::client::legacy, hyper_tls, or hyper_rustls.

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
With the default hyper_util::client::legacy::connect::HttpConnector.
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.