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.
- Http
Connector - A connector for the
httpscheme. - Https
Connector https - A Connector for the
httpsscheme. - Native
TlsConnector nativetls - A Connector for the
httpsscheme. - Rustls
Connector rustls - A Connector for the
httpsscheme.
Functions§
- builder
- Default
Builder. - http_
default - Same as
Client::new(), except for theBparameter. - https_
default httpsornativetls - Alias to
nativetls_default(). - nativetls_
default nativetls - With the default
hyper_tls::HttpsConnector. - rustls_
default rustls - With the default
hyper_rustls::HttpsConnector. - with_
connector_ default - Default builder and given connector.