Expand description
This module contains a correct and complete implementation of RFC6455.
Any extensions are currently not implemented.
Structs§
- Close
Code - Close status code.
- Config
- Low-level configuration for a
WebSocketStreamthat allows configuring behavior for sending and receiving messages. - Limits
- Configuration for limitations on reading of
Messages from aWebSocketStreamto prevent high memory usage caused by malicious actors. - Message
- A WebSocket message. This is cheaply clonable and uses
Payloadas the payload storage underneath. - Payload
- The websocket message payload storage.
- WebSocket
Stream - A WebSocket stream that full messages can be read from and written to.
Enums§
- Protocol
Error - Error encountered on protocol violations by the other end of the connection.