Module actix_web_actors::ws[][src]

Expand description

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

A WebSocket frame.

HandshakeError

WebSocket handshake errors

Message

A WebSocket message.

ProtocolError

WebSocket protocol errors.

Functions

handshake

Prepare WebSocket handshake response.

handshake_with_protocols

Prepare WebSocket handshake response.

start

Perform WebSocket handshake and start actor.

start_with_addr

Perform WebSocket handshake and start actor.

start_with_protocols

Do WebSocket handshake and start ws actor.