WebsocketError
Description:
[ CCode ( cprefix = "SOUP_WEBSOCKET_ERROR_" , type_id = "soup_websocket_error_get_type ()" ) ]
public errordomain WebsocketError
WebSocket-related errors.
Content:
Error codes:
- 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.
Static methods: