pub type Incoming<S> = Box<dyn Stream<Item = (Upgrade<S>, SocketAddr), Error = InvalidConnection<S, BytesMut>> + Send>;
Expand description
A stream of websocket connections and addresses the server generates.
Each item of the stream is the address of the incoming connection and an Upgrade
struct which lets the user decide whether to turn the connection into a websocket
connection or reject it.
Aliased Typeยง
struct Incoming<S>(/* private fields */);