Expand description
Acceptors used by the stream-based and WebSocket backends. Accepts a connection, wraps it with a codec, and hands the split halves to the server.
Structsยง
- Stream
Acceptor ๐ - Byte-stream acceptor: accepts a stream, wraps with a framed codec, and hands the split halves to the server.
- WsAcceptor ๐
- WebSocket acceptor: accepts a byte stream, runs the WS handshake, and hands the split halves to the server.
Traitsยง
- Async
Acceptor ๐ - Produces framed connections and hands them off to the server.
- Stream
Listener ๐ - A listener that produces byte streams.