Module tokio_websockets::proto
source · Expand description
This module contains a correct and complete implementation of RFC6455.
Any extensions are currently not implemented.
Structs§
- Close status code.
- Low-level configuration for a
WebSocketStream
that allows configuring behavior for sending and receiving messages. - Configuration for limitations on reading of
Message
s from aWebSocketStream
to prevent high memory usage caused by malicious actors. - A WebSocket message. This is cheaply clonable and uses
Payload
as the payload storage underneath. - A WebSocket stream that full messages can be read from and written to.
Enums§
- Error encountered on protocol violations by the other end of the connection.