#include <websocket_request_handler.hpp>
Public Member Functions | |
void | operator() (const HttpRequest &request, boost::shared_ptr< HttpConnection > connection, const char *begin, const char *end) |
WebsocketHttpRequestHandler (WebsocketRequestHandler handler) | |
Static Public Attributes | |
static const std::string | KEY_MAGIC_STRING = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" |
Private Attributes | |
WebsocketRequestHandler | handler_ |
A HTTP request handler that upgrades a HttpConnection to a WebsocketConnection.
Definition at line 19 of file websocket_request_handler.hpp.
async_web_server_cpp::WebsocketHttpRequestHandler::WebsocketHttpRequestHandler | ( | WebsocketRequestHandler | handler | ) |
Definition at line 16 of file websocket_request_handler.cpp.
void async_web_server_cpp::WebsocketHttpRequestHandler::operator() | ( | const HttpRequest & | request, |
boost::shared_ptr< HttpConnection > | connection, | ||
const char * | begin, | ||
const char * | end | ||
) |
Definition at line 20 of file websocket_request_handler.cpp.
Definition at line 27 of file websocket_request_handler.hpp.
const std::string async_web_server_cpp::WebsocketHttpRequestHandler::KEY_MAGIC_STRING = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" [static] |
Definition at line 25 of file websocket_request_handler.hpp.