Struct sozu_command_lib::proxy::HttpListener
source · pub struct HttpListener {
pub address: SocketAddr,
pub public_address: Option<SocketAddr>,
pub answer_404: String,
pub answer_503: String,
pub expect_proxy: bool,
pub sticky_name: String,
pub front_timeout: u32,
pub back_timeout: u32,
pub connect_timeout: u32,
pub request_timeout: u32,
}Fields§
§address: SocketAddr§public_address: Option<SocketAddr>§answer_404: String§answer_503: String§expect_proxy: bool§sticky_name: String§front_timeout: u32client inactive time
back_timeout: u32backend server inactive time
connect_timeout: u32time to connect to the backend
request_timeout: u32max time to send a complete request
Trait Implementations§
source§impl Clone for HttpListener
impl Clone for HttpListener
source§fn clone(&self) -> HttpListener
fn clone(&self) -> HttpListener
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpListener
impl Debug for HttpListener
source§impl Default for HttpListener
impl Default for HttpListener
source§fn default() -> HttpListener
fn default() -> HttpListener
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HttpListener
impl<'de> Deserialize<'de> for HttpListener
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more