Provide AsyncRead/AsyncWrite over WebSockets (both tokio and 0.3)
Future representing a finished WS handshake.Accept
A stream of connections.
The error type for errors happening in
A tokio AsyncRead01/AsyncWrite01 representing a WebSocket connection. It only supports binary mode. Contrary to the rest of this library, this will work on types from futures 0.1 instead of 0.3. This is because tokio currently is on futures 0.1, so the stream returned from a codec will be 0.1.
The different kind of errors that can happen when you use the