[][src]Module actix_web_actors::ws

Websocket integration

Structs

CloseReason

Reason for closing the connection

WebsocketContext

Execution context for WebSockets actors

Enums

CloseCode

Status code used to indicate why an endpoint is closing the WebSocket connection.

Frame

WebSocket frame

HandshakeError

Websocket handshake errors

Message

WebSocket Message

ProtocolError

Websocket protocol errors

Functions

handshake

Prepare WebSocket handshake response.

handshake_with_protocols

Prepare WebSocket handshake response.

start

Do websocket handshake and start ws actor.

start_with_addr

Do websocket handshake and start ws actor.

start_with_protocols

Do websocket handshake and start ws actor.