Enumeration
SoupWebsocketError
since: 3.0
Members
SOUP_WEBSOCKET_ERROR_FAILED-
A generic error.
- Value:
0 - Nickname:
failed - Available since: 3.0
- Value:
SOUP_WEBSOCKET_ERROR_NOT_WEBSOCKET-
Attempted to handshake with a server that does not appear to understand WebSockets.
- Value:
1 - Nickname:
not-websocket - Available since: 3.0
- Value:
SOUP_WEBSOCKET_ERROR_BAD_HANDSHAKE-
The WebSocket handshake failed because some detail was invalid (eg, incorrect accept key).
- Value:
2 - Nickname:
bad-handshake - Available since: 3.0
- Value:
SOUP_WEBSOCKET_ERROR_BAD_ORIGIN-
The WebSocket handshake failed because the “Origin” header was not an allowed value.
- Value:
3 - Nickname:
bad-origin - Available since: 3.0
- Value: