28 #ifndef WEBSOCKETPP_PROCESSOR_BASE_HPP    29 #define WEBSOCKETPP_PROCESSOR_BASE_HPP   166         return "websocketpp.processor";
   172                 return "Generic processor error";
   174                 return "invalid user input";
   176                 return "Generic protocol violation";
   178                 return "A message was too large";
   180                 return "A payload contained invalid data";
   182                 return "invalid function arguments";
   184                 return "invalid opcode";
   186                 return "Control messages are limited to fewer than 125 characters";
   188                 return "Invalid use of reserved bits";
   190                 return "Control messages cannot be fragmented";
   192                 return "Invalid message continuation";
   194                 return "Clients may not send unmasked frames";
   196                 return "Servers may not send masked frames";
   198                 return "Payload length was not minimally encoded";
   200                 return "64 bit frames are not supported on 32 bit systems";
   202                 return "Invalid UTF8 encoding";
   204                 return "Operation required not implemented functionality";
   206                 return "Invalid HTTP method.";
   208                 return "Invalid HTTP version.";
   210                 return "Invalid HTTP status.";
   212                 return "A required HTTP header is missing";
   214                 return "SHA-1 library error";
   216                 return "The WebSocket protocol version in use does not support this feature";
   218                 return "Reserved close code used";
   220                 return "Invalid close code used";
   222                 return "Using a close reason requires a valid close code";
   224                 return "Error parsing subprotocol header";
   226                 return "Error parsing extension header";
   228                 return "Extensions are disabled";
   230                 return "Short Hybi00 Key 3 read";
   266     switch (ec.value()) {
   299 #endif //WEBSOCKETPP_PROCESSOR_BASE_HPP 
static value const internal_endpoint_error
An endpoint encountered an unexpected condition that prevented it from fulfilling the request...
 
static char const connection_token[]
 
lib::error_code make_error_code(error::value e)
Get an error code with the given value and the stub transport category. 
 
uint16_t value
The type of a close code value. 
 
static value const invalid_payload
An endpoint received message data inconsistent with its type. 
 
char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_
 
Embedded SHA-1 library error. 
 
Clients may not send unmasked frames. 
 
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
 
WebSocket protocol processor abstract base class. 
 
Using a reason requires a close code. 
 
Illegal use of reserved bit. 
 
No support for this feature in this protocol version. 
 
static value const protocol_error
A protocol error occurred. 
 
lib::error_category const & get_processor_category()
Get a reference to a static copy of the processor error category. 
 
static char const upgrade_token[]
 
Processor encountered invalid payload data. 
 
Operation required not implemented functionality. 
 
A package of types and methods for manipulating WebSocket close codes. 
 
Continuation without message. 
 
Error was the result of improperly formatted user input. 
 
Processor encountered a protocol violation in an incoming message. 
 
Not supported on 32 bit systems. 
 
Extension related operation was ignored because extensions are disabled. 
 
close::status::value to_ws(lib::error_code ec)
Converts a processor error_code into a websocket close code. 
 
Catch-all error for processor policy errors that don't fit in other categories. 
 
Reserved close code used. 
 
Namespace for the WebSocket++ project. 
 
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_
 
Error parsing subprotocols. 
 
static char const handshake_guid[]
 
Servers may not send masked frames. 
 
Catch-all error for transport policy errors that don't fit in other categories. 
 
Fragmented control message. 
 
Processor encountered a message that was too large. 
 
static value const message_too_big
An endpoint received a message too large to process. 
 
Error parsing extensions. 
 
Category for processor errors. 
 
std::string message(int value) const 
 
Opcode was invalid for requested operation. 
 
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_
 
The processor method was called with invalid arguments. 
 
Payload length not minimally encoded. 
 
static value const blank
A blank value for internal use.