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

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

A Http Listener over SSL.

Methods

impl<S: Ssl> HttpsListener<S>
[src]

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

Start listening to an address over HTTPS.

Trait Implementations

impl<S: Clone + Ssl> Clone for HttpsListener<S>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<S: Ssl + Clone> NetworkListener for HttpsListener<S>
[src]

type Stream = S::Stream

The stream produced for each connection.

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

Listens on a socket. Returns an iterator of streams. Read more

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

Get the address this Listener ended up listening on.

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

Closes the Acceptor, so no more incoming connections will be handled. Returns an iterator over incoming connections. Read more