Struct hyper::net::HttpListener [] [src]

pub struct HttpListener { /* fields omitted */ }

A NetworkListener for HttpStreams.

Methods

impl HttpListener
[src]

Start listening to an address over HTTP.

Trait Implementations

impl Clone for HttpListener
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<TcpListener> for HttpListener
[src]

Performs the conversion.

impl NetworkListener for HttpListener
[src]

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

Returns an iterator over incoming connections.

impl AsRawSocket for HttpListener
[src]

Extracts the underlying raw socket from this object.

impl FromRawSocket for HttpListener
[src]

Creates a new I/O object from the given raw socket. Read more