Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
base.hpp File Reference
Include dependency graph for base.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::processor::error::processor_category
 Category for processor errors. More...
 
struct  is_error_code_enum< websocketpp::processor::error::processor_errors >
 

Namespaces

namespace  websocketpp
 Namespace for the WebSocket++ project.
 
namespace  websocketpp::processor
 Processors encapsulate the protocol rules specific to each WebSocket version.
 
namespace  websocketpp::processor::constants
 Constants related to processing WebSocket connections.
 
namespace  websocketpp::processor::error_cat
 Processor class related error codes.
 
namespace  websocketpp::processor::error
 Error code category and codes used by all processor types.
 

Enumerations

enum  websocketpp::processor::error_cat::value {
  websocketpp::processor::error_cat::BAD_REQUEST = 0 , websocketpp::processor::error_cat::INTERNAL_ERROR = 1 , websocketpp::processor::error_cat::PROTOCOL_VIOLATION = 2 , websocketpp::processor::error_cat::MESSAGE_TOO_BIG = 3 ,
  websocketpp::processor::error_cat::PAYLOAD_VIOLATION = 4
}
 
enum  websocketpp::processor::error::processor_errors {
  websocketpp::processor::error::general = 1 , websocketpp::processor::error::bad_request , websocketpp::processor::error::protocol_violation , websocketpp::processor::error::message_too_big ,
  websocketpp::processor::error::invalid_payload , websocketpp::processor::error::invalid_arguments , websocketpp::processor::error::invalid_opcode , websocketpp::processor::error::control_too_big ,
  websocketpp::processor::error::invalid_rsv_bit , websocketpp::processor::error::fragmented_control , websocketpp::processor::error::invalid_continuation , websocketpp::processor::error::masking_required ,
  websocketpp::processor::error::masking_forbidden , websocketpp::processor::error::non_minimal_encoding , websocketpp::processor::error::requires_64bit , websocketpp::processor::error::invalid_utf8 ,
  websocketpp::processor::error::not_implemented , websocketpp::processor::error::invalid_http_method , websocketpp::processor::error::invalid_http_version , websocketpp::processor::error::invalid_http_status ,
  websocketpp::processor::error::missing_required_header , websocketpp::processor::error::sha1_library , websocketpp::processor::error::no_protocol_support , websocketpp::processor::error::reserved_close_code ,
  websocketpp::processor::error::invalid_close_code , websocketpp::processor::error::reason_requires_code , websocketpp::processor::error::subprotocol_parse_error , websocketpp::processor::error::extension_parse_error ,
  websocketpp::processor::error::extensions_disabled , websocketpp::processor::error::short_key3
}
 

Functions

lib::error_category const & websocketpp::processor::error::get_processor_category ()
 Get a reference to a static copy of the processor error category.
 
lib::error_code websocketpp::processor::error::make_error_code (error::processor_errors e)
 Create an error code with the given value and the processor category.
 
close::status::value websocketpp::processor::error::to_ws (lib::error_code ec)
 Converts a processor error_code into a websocket close code.