Struct hyper::net::HttpsListener
[−]
[src]
pub struct HttpsListener<S: SslServer> { // 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
.