WebSocket status codes used when closing a WebSocket connection.

Constants

int ABNORMAL_CLOSURE = 1006
const

int GOING_AWAY = 1001
const

int INTERNAL_SERVER_ERROR = 1011
const

int INVALID_FRAME_PAYLOAD_DATA = 1007
const

int MESSAGE_TOO_BIG = 1009
const

int MISSING_MANDATORY_EXTENSION = 1010
const

int NORMAL_CLOSURE = 1000
const

int NO_STATUS_RECEIVED = 1005
const

int POLICY_VIOLATION = 1008
const

int PROTOCOL_ERROR = 1002
const

int RESERVED_1004 = 1004
const

int RESERVED_1015 = 1015
const

int UNSUPPORTED_DATA = 1003
const

Constructors

WebSocketStatus()