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]

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more