enum Poco::Net::WebSocket::StatusCodes

StatusCodes for CLOSE frames sent with shutdown().

#include <WebSocket.h>

enum StatusCodes
{
    WS_NORMAL_CLOSE            = 1000,
    WS_ENDPOINT_GOING_AWAY     = 1001,
    WS_PROTOCOL_ERROR          = 1002,
    WS_PAYLOAD_NOT_ACCEPTABLE  = 1003,
    WS_RESERVED                = 1004,
    WS_RESERVED_NO_STATUS_CODE = 1005,
    WS_RESERVED_ABNORMAL_CLOSE = 1006,
    WS_MALFORMED_PAYLOAD       = 1007,
    WS_POLICY_VIOLATION        = 1008,
    WS_PAYLOAD_TOO_BIG         = 1009,
    WS_EXTENSION_REQUIRED      = 1010,
    WS_UNEXPECTED_CONDITION    = 1011,
    WS_RESERVED_TLS_FAILURE    = 1015,
};