Function builder_https

Source
pub fn builder_https<B, A>(
    authority: A,
) -> Result<Builder<HttpsConnector<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 features https or nativetls) only.
Expand description

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

This is the same as builder_nativetls().

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