Struct hyper_proxy::ProxyConnector[][src]

pub struct ProxyConnector<C> { /* fields omitted */ }

A wrapper around Proxys with a connector.

Methods

impl<C> ProxyConnector<C>
[src]

Create a new secured Proxies

Create a new unsecured Proxy

Create a proxy connector and attach a particular proxy

Create a proxy connector and attach a particular proxy

Change proxy connector

Set or unset tls when tunneling

Get the current proxies

Add a new additional proxy

Extend the list of proxies

Get http headers for a matching uri

These headers must be appended to the hyper Request for the proxy to work properly. This is needed only for http requests.

Trait Implementations

impl<C: Clone> Clone for ProxyConnector<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug> Debug for ProxyConnector<C>
[src]

Formats the value using the given formatter. Read more

impl<C> Connect for ProxyConnector<C> where
    C: Connect + 'static, 
[src]

The connected IO Stream.

An error occured when trying to connect.

A Future that will resolve to the connected Transport.

Connect to a destination.

Auto Trait Implementations

impl<C> Send for ProxyConnector<C> where
    C: Send

impl<C> Sync for ProxyConnector<C> where
    C: Sync