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
addr: A
The address to connect to. For example example.com:80
.
replace_host: Option<Cow<'static, str>>
If Some
, the Host
header will be replaced with this value.
Trait Implementations
impl<A: Debug> Debug for ProxyConfig<A>
[src]
impl<A: Clone> Clone for ProxyConfig<A>
[src]
fn clone(&self) -> ProxyConfig<A>
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