Expand description
Message-level reader and writer halves of a WebSocket connection.
Modules§
- close_
code - Standard close codes (RFC 6455 §7.4.1).
Structs§
- WsConfig
- WsReader
- Reading half.
WsReader::recvis cancel-safe: all progress is kept inself, so it can be used as atokio::select!branch. - WsWriter
- Writing half. Not cancel-safe: do not race
send_*futures inselect!.