Struct hyper_proxy::Proxy [] [src]

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

The proxy

Methods

impl<C> Proxy<C>
[src]

[src]

Create a new secured Proxy

[src]

Create a new unsecured Proxy

[src]

Change proxy connector

[src]

Set proxy authorization

[src]

Set a custom header

[src]

Set a custom header

[src]

Get current intercept

[src]

Get current intercept

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<C> Service for Proxy<C> where
    C: Service<Request = Uri, Error = Error> + 'static,
    C::Future: 'static,
    <C::Future as Future>::Item: AsyncRead + AsyncWrite + 'static, 
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Process the request and return the response asynchronously.