Struct hyper::net::HttpConnector
[−]
[src]
pub struct HttpConnector;
A connector that will produce HttpStreams.
Trait Implementations
impl Debug for HttpConnector
[src]
impl Clone for HttpConnector
[src]
fn clone(&self) -> HttpConnector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for HttpConnector
[src]
fn default() -> HttpConnector
Returns the "default value" for a type. Read more
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.