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

pub struct HttpListener(_);

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.

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 instances of Self from the given raw file descriptor. Read more