:right-sidebar: True WebsocketError =================================================================== .. currentmodule:: gi.repository.Soup .. class:: WebsocketError :no-contents-entry: WebSocket-related errors. Methods ------- .. rst-class:: interim-class .. class:: WebsocketError :no-index: .. method:: quark() -> int Registers error quark for SoupWebsocket if needed. Fields ------ .. rst-class:: interim-class .. class:: WebsocketError :no-index: .. attribute:: BAD_HANDSHAKE The WebSocket handshake failed because some detail was invalid (eg, incorrect accept key). .. attribute:: BAD_ORIGIN The WebSocket handshake failed because the "Origin" header was not an allowed value. .. attribute:: FAILED A generic error .. attribute:: NOT_WEBSOCKET Attempted to handshake with a server that does not appear to understand WebSockets.