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

pub struct HttpListener { /* fields omitted */ }
[]

A NetworkListener for HttpStreams.

Methods

impl HttpListener
[src]

[src]
[]

Start listening to an address over HTTP.

Trait Implementations

impl Clone for HttpListener
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more

impl From<TcpListener> for HttpListener
[src]

[src]
[]

Performs the conversion.

impl NetworkListener for HttpListener
[src]

The stream produced for each connection.

[src]
[]

Returns an iterator of streams.

[src]
[]

Get the address this Listener ended up listening on.

[src]
[]

Sets the read timeout for all streams that are accepted

[src]
[]

Sets the write timeout for all streams that are accepted

[src]
[]

Returns an iterator over incoming connections.

impl AsRawFd for HttpListener
[src]

[src]
[]

Extracts the raw file descriptor. Read more

impl FromRawFd for HttpListener
[src]

[src]
[]

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