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

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

A connector that can protect HTTP streams using SSL.

Methods

impl<S: Ssl> HttpsConnector<S>
[src]

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

Create a new connector using the provided SSL implementation.

Trait Implementations

impl<S: Default + Ssl> Default for HttpsConnector<S>
[src]

fn default() -> HttpsConnector<S>

Returns the "default value" for a type. Read more

impl<S: Debug + Ssl> Debug for HttpsConnector<S>
[src]

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

Formats the value using the given formatter.

impl<S: Ssl> NetworkConnector for HttpsConnector<S>
[src]

type Stream = HttpsStream<S::Stream>

Type of Stream to create

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

Connect to a remote address.