:right-sidebar: True WebsocketCloseCode =================================================================== .. currentmodule:: gi.repository.Soup .. class:: WebsocketCloseCode :no-contents-entry: Pre-defined close codes that can be passed to :obj:`~gi.repository.WebsocketConnection.close` or received from :obj:`~gi.repository.WebsocketConnection.get_close_code`\. However, other codes are also allowed. Fields ------ .. rst-class:: interim-class .. class:: WebsocketCloseCode :no-index: .. attribute:: ABNORMAL The type of the None singleton. .. attribute:: BAD_DATA The type of the None singleton. .. attribute:: GOING_AWAY The type of the None singleton. .. attribute:: NORMAL The type of the None singleton. .. attribute:: NO_EXTENSION The type of the None singleton. .. attribute:: NO_STATUS The type of the None singleton. .. attribute:: POLICY_VIOLATION The type of the None singleton. .. attribute:: PROTOCOL_ERROR The type of the None singleton. .. attribute:: SERVER_ERROR The type of the None singleton. .. attribute:: TLS_HANDSHAKE The type of the None singleton. .. attribute:: TOO_BIG The type of the None singleton. .. attribute:: UNSUPPORTED_DATA The type of the None singleton.