WebSocket++  0.8.3-dev
C++ websocket client/server library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Enumerations | Functions
websocketpp::http::error Namespace Reference

HTTP parser errors. More...

Classes

class  category
 HTTP parser error category. More...
 

Enumerations

enum  value { general = 1, invalid_header_name, body_too_large }
 

Functions

lib::error_category const & get_category ()
 Get a reference to a static copy of the asio transport error category.
 
lib::error_code make_error_code (error::value e)
 Create an error code with the given value and the asio transport category.
 

Detailed Description

HTTP parser errors.

Enumeration Type Documentation

◆ value

Enumerator
general 

Catch-all error for http parser errors that don't fit in other categories

invalid_header_name 

The header name specified contains illegal characters.

body_too_large 

The body value is larger than the configured maximum size.

Definition at line 324 of file constants.hpp.