WebSocketCloseCode
Constants
CLOSED_NO_STATUS
Expected close status, received none.
CLOSE_ABNORMAL
No close code frame has been received.
CLOSE_BAD_GATEWAY
Server acting as gateway received an invalid response.
CLOSE_GOING_AWAY
Endpoint left (browser tab closing).
CLOSE_MANDATORY_EXTENSION
Client wanted an extension which server does not negotiate.
CLOSE_NORMAL
Normal connection closure.
CLOSE_POLICY_VIOLATION
Received message violates endpoint policy.
CLOSE_PROTOCOL_ERROR
Endpoint received a malformed frame.
CLOSE_SERVER_ERROR
Internal server error while operating.
CLOSE_SERVICE_RESTART
Server/service is restarting.
CLOSE_TLS_FAIL
Failed to perform a TLS handshake.
CLOSE_TOO_LARGE
Too big frame.
CLOSE_TRY_AGAIN_LATER
Temporary server condition forced blocking the client's request.
CLOSE_UNSUPPORTED
Endpoint received an unsupported frame.
CLOSE_UNSUPPORTED_PAYLOAD
Endpoint received inconsistent message.