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

pub struct HttpConnector(pub Option<VerifyCallback>);

A connector that will produce HttpStreams.

Trait Implementations

impl NetworkConnector for HttpConnector

type Stream = HttpStream

fn connect(&mut self, host: &str, port: Port, scheme: &str) -> IoResult<HttpStream>