1.7.3.13 SYS_WSS_STATUS_CODE Enum

C

typedef enum {
    SYS_WSS_STATUS_CODE_NORMAL_CLOSURE = 1000,
    SYS_WSS_STATUS_CODE_GOING_AWAY = 1001,
    SYS_WSS_STATUS_CODE_PROTOCOL_ERROR = 1002,
    SYS_WSS_STATUS_CODE_UNSUPPORTED_DATA = 1003,
    SYS_WSS_STATUS_CODE_NO_STATUS_RCVD = 1005, //reserved code, Not to be used in the close frames
    SYS_WSS_STATUS_CODE_ABNORMAL_CLOSURE = 1006, //reserved, Not to be used in the close frames
    SYS_WSS_STATUS_CODE_INVALID_PAYLOAD_DATA = 1007,
    SYS_WSS_STATUS_CODE_POLICY_VIOLATION = 1008,
    SYS_WSS_STATUS_CODE_MESSAGE_TOO_BIG = 1009,
    SYS_WSS_STATUS_CODE_MANDATORY_EXT = 1010,
    SYS_WSS_STATUS_CODE_INTERNAL_ERROR = 1011,
    SYS_WSS_STATUS_CODE_TLS_HANDSHAKE = 1015 // reserved code, Not to be used in the close frames
} SYS_WSS_STATUS_CODE;

Summary

The status codes to be reported to the clients as per RFC6455 11.7

Remarks

None.