Function builder_rustls

Source
pub fn builder_rustls<B, A>(
    authority: A,
) -> Result<Builder<RustlsConnector<HttpConnector>, B>, Error>
where B: HttpBody + Send, B::Data: Send, Authority: TryFrom<A>, <Authority as TryFrom<A>>::Error: Into<Error>,
Available on (crate features http1 or http2) and crate feature rustls only.
Expand description

Builder of ReusedService, with client::rustls_default().

For the meaning of “authority”, refer to the documentation of Uri.