WebsocketCloseCode#
- class WebsocketCloseCode#
Pre-defined close codes that can be passed to
close
or received from
get_close_code
.
However, other codes are also allowed.
Fields#
- class WebsocketCloseCode
- ABNORMAL#
The type of the None singleton.
- BAD_DATA#
The type of the None singleton.
- GOING_AWAY#
The type of the None singleton.
- NORMAL#
The type of the None singleton.
- NO_EXTENSION#
The type of the None singleton.
- NO_STATUS#
The type of the None singleton.
- POLICY_VIOLATION#
The type of the None singleton.
- PROTOCOL_ERROR#
The type of the None singleton.
- SERVER_ERROR#
The type of the None singleton.
- TLS_HANDSHAKE#
The type of the None singleton.
- TOO_BIG#
The type of the None singleton.
- UNSUPPORTED_DATA#
The type of the None singleton.