WebSocketCloseStatusCode

An enumeration of possible closing status codes for websocket connections, as per https://datatracker.ietf.org/doc/html/rfc6455#section-7.4

Values

ValueMeaning
NORMAL1000
GOING_AWAY1001
PROTOCOL_ERROR1002
UNACCEPTABLE_DATA1003
NO_CODE1005
CLOSED_ABNORMALLY1006
INCONSISTENT_DATA1007
POLICY_VIOLATION1008
MESSAGE_TOO_BIG1009
EXTENSION_NEGOTIATION_FAILURE1010
UNEXPECTED_CONDITION1011
TLS_HANDSHAKE_FAILURE1015