[][src]Module tide::listener

Types that represent HTTP transports and binding

Structs

ConcurrentListener

ConcurrentListener allows tide to listen on any number of transports simultaneously (such as tcp ports, unix sockets, or tls).

FailoverListener

FailoverListener allows tide to attempt to listen in a sequential order to any number of ports/addresses. The first successful listener is used.

ListenInfo

Information about the Listener.

Traits

Listener

The Listener trait represents an implementation of http transport for a tide application. In order to provide a Listener to tide, you will also need to implement at least one ToListener that outputs your Listener type.

ToListener

ToListener represents any type that can be converted into a Listener. Any type that implements ToListener can be passed to Server::listen or added to a ConcurrentListener