[ CCode ( cprefix = "SOUP_WEBSOCKET_ERROR_" , type_id = "soup_websocket_error_get_type ()" ) ]
[ Version ( since = "2.50" ) ]
public enum 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.