Struct rocket::http::hyper::net::HttpsListener [−][src]
pub struct HttpsListener<S> where
S: SslServer<HttpStream>, { /* fields omitted */ }
Expand description
A Http Listener over SSL.
Implementations
Start listening to an address over HTTPS.
Construct an HttpsListener from a bound TcpListener
.
Trait Implementations
type Stream = <S as SslServer<HttpStream>>::Stream
type Stream = <S as SslServer<HttpStream>>::Stream
The stream produced for each connection.
Returns an iterator of streams.
Get the address this Listener ended up listening on.
Sets the read timeout for all streams that are accepted
Sets the write timeout for all streams that are accepted
fn incoming(&mut self) -> NetworkConnections<'_, Self>ⓘNotable traits for NetworkConnections<'a, N>impl<'a, N> Iterator for NetworkConnections<'a, N> where
N: 'a + NetworkListener, type Item = Result<<N as NetworkListener>::Stream, Error>;
fn incoming(&mut self) -> NetworkConnections<'_, Self>ⓘNotable traits for NetworkConnections<'a, N>impl<'a, N> Iterator for NetworkConnections<'a, N> where
N: 'a + NetworkListener, type Item = Result<<N as NetworkListener>::Stream, Error>;
Notable traits for NetworkConnections<'a, N>
impl<'a, N> Iterator for NetworkConnections<'a, N> where
N: 'a + NetworkListener, type Item = Result<<N as NetworkListener>::Stream, Error>;
Returns an iterator over incoming connections.
Auto Trait Implementations
impl<S> RefUnwindSafe for HttpsListener<S> where
S: RefUnwindSafe,
impl<S> Send for HttpsListener<S> where
S: Send,
impl<S> Sync for HttpsListener<S> where
S: Sync,
impl<S> Unpin for HttpsListener<S> where
S: Unpin,
impl<S> UnwindSafe for HttpsListener<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more