pub struct HttpsListener { /* private fields */ }
Implementations§
Source§impl HttpsListener
impl HttpsListener
pub fn try_new( config: HttpsListenerConfig, token: Token, ) -> Result<HttpsListener, ListenerError>
pub fn activate( &mut self, registry: &Registry, tcp_listener: Option<MioTcpListener>, ) -> Result<Token, ListenerError>
pub fn create_rustls_context( config: &HttpsListenerConfig, resolver: Arc<MutexCertificateResolver>, ) -> Result<RustlsServerConfig, ListenerError>
pub fn add_https_front( &mut self, tls_front: HttpFrontend, ) -> Result<(), ListenerError>
pub fn remove_https_front( &mut self, tls_front: HttpFrontend, ) -> Result<(), ListenerError>
Trait Implementations§
Source§impl L7ListenerHandler for HttpsListener
impl L7ListenerHandler for HttpsListener
fn get_sticky_name(&self) -> &str
fn get_connect_timeout(&self) -> u32
Source§fn frontend_from_request(
&self,
host: &str,
uri: &str,
method: &Method,
) -> Result<Route, FrontendFromRequestError>
fn frontend_from_request( &self, host: &str, uri: &str, method: &Method, ) -> Result<Route, FrontendFromRequestError>
retrieve a frontend by parsing a request’s hostname, uri and method
Source§impl ListenerHandler for HttpsListener
impl ListenerHandler for HttpsListener
fn get_addr(&self) -> &StdSocketAddr
Auto Trait Implementations§
impl !Freeze for HttpsListener
impl !RefUnwindSafe for HttpsListener
impl !Send for HttpsListener
impl !Sync for HttpsListener
impl Unpin for HttpsListener
impl !UnwindSafe for HttpsListener
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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