Struct sozu_command_lib::proxy::HttpListener [−][src]
pub struct HttpListener { pub front: 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
front: SocketAddr
public_address: Option<SocketAddr>
answer_404: String
answer_503: String
expect_proxy: bool
sticky_name: String
front_timeout: u32
client inactive time
back_timeout: u32
backend server inactive time
connect_timeout: u32
time to connect to the backend
request_timeout: u32
max time to send a complete request
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HttpListener
impl Send for HttpListener
impl Sync for HttpListener
impl Unpin for HttpListener
impl UnwindSafe for HttpListener
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self