Struct hyper::net::HttpConnector [] [src]

pub struct HttpConnector(pub Option<ContextVerifier>);

A connector that will produce HttpStreams.

Trait Implementations

impl NetworkConnector for HttpConnector

type Stream = HttpStream

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

fn set_ssl_verifier(&mut self, verifier: ContextVerifier)