Struct rouille::proxy::ProxyConfig [] [src]

pub struct ProxyConfig<A> {
    pub addr: A,
    pub replace_host: Option<Cow<'static, str>>,
}

Configuration for the reverse proxy.

Fields

The address to connect to. For example example.com:80.

If Some, the Host header will be replaced with this value.

Trait Implementations

impl<A: Debug> Debug for ProxyConfig<A>
[src]

[src]

Formats the value using the given formatter. Read more

impl<A: Clone> Clone for ProxyConfig<A>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<A> Send for ProxyConfig<A> where
    A: Send

impl<A> Sync for ProxyConfig<A> where
    A: Sync