Function builder_nativetls

Source
pub fn builder_nativetls<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 feature nativetls only.
Expand description

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

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