This reverts commit a3d2fa4b7e
.
This commit is contained in:
committed by
GitHub
parent
20921f341a
commit
4420bc70b5
@ -6,7 +6,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "IXWebsocketExport.h"
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
@ -14,25 +13,25 @@ namespace ix
|
||||
{
|
||||
struct WebSocketCloseConstants
|
||||
{
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kNormalClosureCode;
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kInternalErrorCode;
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kAbnormalCloseCode;
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kProtocolErrorCode;
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kNoStatusCodeErrorCode;
|
||||
IXWEBSOCKET_EXPORT static const uint16_t kInvalidFramePayloadData;
|
||||
static const uint16_t kNormalClosureCode;
|
||||
static const uint16_t kInternalErrorCode;
|
||||
static const uint16_t kAbnormalCloseCode;
|
||||
static const uint16_t kProtocolErrorCode;
|
||||
static const uint16_t kNoStatusCodeErrorCode;
|
||||
static const uint16_t kInvalidFramePayloadData;
|
||||
|
||||
IXWEBSOCKET_EXPORT static const std::string kNormalClosureMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kInternalErrorMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kAbnormalCloseMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kPingTimeoutMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kNoStatusCodeErrorMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorReservedBitUsed;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorPingPayloadOversized;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorCodeControlMessageFragmented;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorCodeDataOpcodeOutOfSequence;
|
||||
IXWEBSOCKET_EXPORT static const std::string kProtocolErrorCodeContinuationOpCodeOutOfSequence;
|
||||
IXWEBSOCKET_EXPORT static const std::string kInvalidFramePayloadDataMessage;
|
||||
IXWEBSOCKET_EXPORT static const std::string kInvalidCloseCodeMessage;
|
||||
static const std::string kNormalClosureMessage;
|
||||
static const std::string kInternalErrorMessage;
|
||||
static const std::string kAbnormalCloseMessage;
|
||||
static const std::string kPingTimeoutMessage;
|
||||
static const std::string kProtocolErrorMessage;
|
||||
static const std::string kNoStatusCodeErrorMessage;
|
||||
static const std::string kProtocolErrorReservedBitUsed;
|
||||
static const std::string kProtocolErrorPingPayloadOversized;
|
||||
static const std::string kProtocolErrorCodeControlMessageFragmented;
|
||||
static const std::string kProtocolErrorCodeDataOpcodeOutOfSequence;
|
||||
static const std::string kProtocolErrorCodeContinuationOpCodeOutOfSequence;
|
||||
static const std::string kInvalidFramePayloadDataMessage;
|
||||
static const std::string kInvalidCloseCodeMessage;
|
||||
};
|
||||
} // namespace ix
|
||||
|
Reference in New Issue
Block a user