NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
constants.hpp File Reference
#include <exception>
#include <map>
#include <string>
#include <vector>
#include <utility>
Include dependency graph for constants.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  websocketpp::http::exception
 

Namespaces

 websocketpp
 Namespace for the WebSocket++ project.
 
 websocketpp::http
 HTTP handling support.
 
 websocketpp::http::status_code
 HTTP Status codes.
 

Typedefs

typedef std::map< std::string, std::string > websocketpp::http::attribute_list
 The type of an HTTP attribute list. More...
 
typedef std::vector< std::pair< std::string, attribute_list > > websocketpp::http::parameter_list
 The type of an HTTP parameter list. More...
 

Enumerations

enum  websocketpp::http::status_code::value {
  websocketpp::http::status_code::uninitialized = 0, websocketpp::http::status_code::continue_code = 100, websocketpp::http::status_code::switching_protocols = 101, websocketpp::http::status_code::ok = 200,
  websocketpp::http::status_code::created = 201, websocketpp::http::status_code::accepted = 202, websocketpp::http::status_code::non_authoritative_information = 203, websocketpp::http::status_code::no_content = 204,
  websocketpp::http::status_code::reset_content = 205, websocketpp::http::status_code::partial_content = 206, websocketpp::http::status_code::multiple_choices = 300, websocketpp::http::status_code::moved_permanently = 301,
  websocketpp::http::status_code::found = 302, websocketpp::http::status_code::see_other = 303, websocketpp::http::status_code::not_modified = 304, websocketpp::http::status_code::use_proxy = 305,
  websocketpp::http::status_code::temporary_redirect = 307, websocketpp::http::status_code::bad_request = 400, websocketpp::http::status_code::unauthorized = 401, websocketpp::http::status_code::payment_required = 402,
  websocketpp::http::status_code::forbidden = 403, websocketpp::http::status_code::not_found = 404, websocketpp::http::status_code::method_not_allowed = 405, websocketpp::http::status_code::not_acceptable = 406,
  websocketpp::http::status_code::proxy_authentication_required = 407, websocketpp::http::status_code::request_timeout = 408, websocketpp::http::status_code::conflict = 409, websocketpp::http::status_code::gone = 410,
  websocketpp::http::status_code::length_required = 411, websocketpp::http::status_code::precondition_failed = 412, websocketpp::http::status_code::request_entity_too_large = 413, websocketpp::http::status_code::request_uri_too_long = 414,
  websocketpp::http::status_code::unsupported_media_type = 415, websocketpp::http::status_code::request_range_not_satisfiable = 416, websocketpp::http::status_code::expectation_failed = 417, websocketpp::http::status_code::im_a_teapot = 418,
  websocketpp::http::status_code::upgrade_required = 426, websocketpp::http::status_code::precondition_required = 428, websocketpp::http::status_code::too_many_requests = 429, websocketpp::http::status_code::request_header_fields_too_large = 431,
  websocketpp::http::status_code::internal_server_error = 500, websocketpp::http::status_code::not_implemented = 501, websocketpp::http::status_code::bad_gateway = 502, websocketpp::http::status_code::service_unavailable = 503,
  websocketpp::http::status_code::gateway_timeout = 504, websocketpp::http::status_code::http_version_not_supported = 505, websocketpp::http::status_code::not_extended = 510, websocketpp::http::status_code::network_authentication_required = 511
}
 

Functions

bool websocketpp::http::is_token_char (unsigned char c)
 Is the character a token. More...
 
bool websocketpp::http::is_not_token_char (unsigned char c)
 Is the character a non-token. More...
 
bool websocketpp::http::is_whitespace_char (unsigned char c)
 Is the character whitespace. More...
 
bool websocketpp::http::is_not_whitespace_char (unsigned char c)
 Is the character non-whitespace. More...
 
std::string websocketpp::http::status_code::get_string (value c)
 

Variables

static char const websocketpp::http::header_delimiter [] = "\r\n"
 Literal value of the HTTP header delimiter. More...
 
static char const websocketpp::http::header_separator [] = ":"
 Literal value of the HTTP header separator. More...
 
static std::string const websocketpp::http::empty_header
 Literal value of an empty header. More...
 
size_t const websocketpp::http::max_header_size = 16000
 Maximum size in bytes before rejecting an HTTP header as too big. More...
 
size_t const websocketpp::http::max_body_size = 32000000
 Default Maximum size in bytes for HTTP message bodies. More...
 
size_t const websocketpp::http::istream_buffer = 512
 Number of bytes to use for temporary istream read buffers. More...
 
static char const websocketpp::http::header_token []
 invalid HTTP token characters More...