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

pub struct HttpConnector;

A connector that will produce HttpStreams.

Trait Implementations

impl Default for HttpConnector
[src]

fn default() -> HttpConnector

Returns the "default value" for a type. Read more

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 Debug for HttpConnector
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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.