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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<A: Clone> Clone for ProxyConfig<A>
[src]
fn clone(&self) -> ProxyConfig<A>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<A> Send for ProxyConfig<A> where
A: Send,
A: Send,
impl<A> Sync for ProxyConfig<A> where
A: Sync,
A: Sync,