Struct hyper::net::HttpsConnector
[−]
[src]
pub struct HttpsConnector<S: SslClient, C: NetworkConnector = HttpConnector> { // some fields omitted }
A connector that can protect HTTP streams using SSL.
Methods
impl<S: SslClient> HttpsConnector<S, HttpConnector>
fn new(s: S) -> HttpsConnector<S, HttpConnector>
Create a new connector using the provided SSL implementation.
impl<S: SslClient, C: NetworkConnector> HttpsConnector<S, C>
fn with_connector(s: S, connector: C) -> HttpsConnector<S, C>
Create a new connector using the provided SSL implementation.