Struct sozu_lib::http::HttpListener
source · pub struct HttpListener { /* private fields */ }Implementations§
source§impl HttpListener
impl HttpListener
pub fn new(config: HttpListenerConfig, token: Token) -> Result<HttpListener>
pub fn activate( &mut self, registry: &Registry, tcp_listener: Option<TcpListener> ) -> Result<Token>
pub fn add_http_front(&mut self, http_front: HttpFrontend) -> Result<()>
pub fn remove_http_front(&mut self, http_front: HttpFrontend) -> Result<()>
Trait Implementations§
source§impl L7ListenerHandler for HttpListener
impl L7ListenerHandler for HttpListener
source§impl ListenerHandler for HttpListener
impl ListenerHandler for HttpListener
fn get_addr(&self) -> &SocketAddr
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more