Struct hyper::net::HttpsConnector [] [src]

pub struct HttpsConnector<S: SslClient> {
    // some fields omitted
}

A connector that can protect HTTP streams using SSL.

Methods

impl<S: SslClient> HttpsConnector<S>

fn new(s: S) -> HttpsConnector<S>

Create a new connector using the provided SSL implementation.

Trait Implementations

impl<S: SslClient> NetworkConnector for HttpsConnector<S>

type Stream = HttpsStream<S::Stream>

fn connect(&self, host: &str, port: u16, scheme: &str) -> Result<Self::Stream>

Derived Implementations

impl<S: Default + SslClient> Default for HttpsConnector<S>

fn default() -> HttpsConnector<S>

impl<S: Debug + SslClient> Debug for HttpsConnector<S>

fn fmt(&self, __arg_0: &mut Formatter) -> Result