Soup.WebsocketError
Description: Reference for Soup.WebsocketError

### Enumeration

# SoupWebsocketError

#### Declaration

    error-domain Soup.WebsocketError

#### Description [src]

WebSocket-related errors.

#### Members

Name | Description
--- | ---
`SOUP_WEBSOCKET_ERROR_FAILED` | A generic error.
`SOUP_WEBSOCKET_ERROR_NOT_WEBSOCKET` | Attempted to handshake with a server that does not appear to understand WebSockets.
`SOUP_WEBSOCKET_ERROR_BAD_HANDSHAKE` | The WebSocket handshake failed because some detail was invalid (eg, incorrect accept key).
`SOUP_WEBSOCKET_ERROR_BAD_ORIGIN` | The WebSocket handshake failed because the “Origin” header was not an allowed value.

#### Type functions

###### soup_websocket_error_quark

Registers error quark for SoupWebsocket if needed.