Struct hyper::net::HttpConnector
[−]
[src]
pub struct HttpConnector(pub Option<ContextVerifier>);
A connector that will produce HttpStreams.
Trait Implementations
impl NetworkConnector for HttpConnector
[src]
type Stream = HttpStream
Type of Stream to create
fn connect(&self, host: &str, port: u16, scheme: &str) -> Result<HttpStream>
Connect to a remote address.
fn set_ssl_verifier(&mut self, verifier: ContextVerifier)
Sets the given ContextVerifier
to be used when verifying the SSL context on the establishment of a new connection. Read more