Available on crate features
http1
or http2
only.Expand description
Includes helper functions to build Client
s, 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
http
scheme. - Https
Connector https
- A Connector for the
https
scheme. - Native
TlsConnector nativetls
- A Connector for the
https
scheme. - Rustls
Connector rustls
- A Connector for the
https
scheme.
Functions§
- builder
- Default
Builder
. - http_
default - Same as
Client::new()
, except for theB
parameter. - https_
default https
ornativetls
- 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.