Expand description
WebSockets for Actix Web, without actors.
For usage, see documentation on handle()
.
Structs§
- Aggregated
Message Stream - Stream of messages from a WebSocket client, with continuations aggregated.
- Close
Reason - Reason for closing the connection
- Closed
- The error representing a closed websocket session
- Message
Stream - Stream of messages from a WebSocket client.
- Session
- A handle into the websocket session.
- Streaming
Body - Response body for a WebSocket.
Enums§
- Aggregated
Message - WebSocket message with any continuations aggregated together.
- Close
Code - Status code used to indicate why an endpoint is closing the WebSocket connection.
- Item
- A WebSocket continuation item.
- Message
- A WebSocket message.
- Protocol
Error - WebSocket protocol errors.
Functions§
- handle
- Begin handling websocket traffic