NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::processor
 Processors encapsulate the protocol rules specific to each WebSocket version.
 
 websocketpp::processor::constants
 Constants related to processing WebSocket connections.
 
 websocketpp::processor::error_cat
 Processor class related error codes.
 
 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. More...
 
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. More...
 
close::status::value websocketpp::processor::error::to_ws (lib::error_code ec)
 Converts a processor error_code into a websocket close code. More...
 

Variables

static char const websocketpp::processor::constants::upgrade_token [] = "websocket"
 
static char const websocketpp::processor::constants::connection_token [] = "Upgrade"
 
static char const websocketpp::processor::constants::handshake_guid [] = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"