Expand description
WebSockets for Actix Web, without actors.
See documentation for the handle method for usage.
Structs§
- Close
Reason - Reason for closing the connection
- Closed
- The error representing a closed websocket session
- Message
Stream - A stream of Messages from a websocket client
- Session
- A handle into the websocket session.
- Streaming
Body - A response body for Websocket HTTP Requests
Enums§
- Close
Code - Status code used to indicate why an endpoint is closing the WebSocket connection.
- Message
- A WebSocket message.
- Protocol
Error - WebSocket protocol errors.
Functions§
- handle
- Begin handling websocket traffic