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 AsRawFd for HttpListener
[src]

Extracts the raw file descriptor. Read more

impl FromRawFd for HttpListener
[src]

Constructs a new instance of Self from the given raw file descriptor. Read more