WebsocketError#
- class WebsocketError#
WebSocket-related errors.
Methods#
Fields#
- class WebsocketError
- BAD_HANDSHAKE#
The WebSocket handshake failed because some detail was invalid (eg, incorrect accept key).
- BAD_ORIGIN#
The WebSocket handshake failed because the “Origin” header was not an allowed value.
- FAILED#
A generic error
- NOT_WEBSOCKET#
Attempted to handshake with a server that does not appear to understand WebSockets.