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(&mut self, host: &str, port: u16, scheme: &str) -> Result<HttpStream>