Struct hyper::net::HttpListener
[−]
[src]
pub struct HttpListener(_);
A NetworkListener
for HttpStream
s.
Methods
impl HttpListener
fn new<To: ToSocketAddrs>(addr: To) -> Result<HttpListener>
Start listening to an address over HTTP.