Expand description
Types that represent HTTP transports and binding
Structs§
- ConcurrentListener allows tide to listen on any number of transports simultaneously (such as tcp ports, unix sockets, or tls).
- FailoverListener allows tide to attempt to listen in a sequential order to any number of ports/addresses. The first successful listener is used.
- Information about the
Listener
.
Traits§
- 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 represents any type that can be converted into a
Listener
. Any type that implements ToListener can be passed toServer::listen
or added to aConcurrentListener