Module ws

Source
Expand description

Abstraction over WebSocket implementations.

Use the fastwebsockets implementation of these traits as an example for implementing them for other WebSocket implementations.

Structs§

Frame
WebSocket frame.
LockedWebSocketWrite
Locked WebSocket.

Enums§

OpCode
Opcode of the WebSocket frame.
Payload
Payload of the websocket frame.

Traits§

WebSocketRead
Generic WebSocket read trait.
WebSocketWrite
Generic WebSocket write trait.