Struct hyper::net::HttpsListener [] [src]

pub struct HttpsListener<S: Ssl> {
    // some fields omitted
}

A Http Listener over SSL.

Methods

impl<S: Ssl> HttpsListener<S>

fn new<To: ToSocketAddrs>(addr: To, ssl: S) -> Result<HttpsListener<S>>

Start listening to an address over HTTPS.

fn with_listener(listener: HttpListener, ssl: S) -> HttpsListener<S>

Construct an HttpsListener from a bound TcpListener.

Trait Implementations

impl<S: Ssl + Clone> NetworkListener for HttpsListener<S>

type Stream = S::Stream

fn accept(&mut self) -> Result<S::Stream>

fn local_addr(&mut self) -> Result<SocketAddr>

fn incoming(&mut self) -> NetworkConnections<Self>

Derived Implementations

impl<S: Clone + Ssl> Clone for HttpsListener<S>

fn clone(&self) -> HttpsListener<S>

fn clone_from(&mut self, source: &Self)