Public Member Functions | Static Public Attributes | Private Attributes
async_web_server_cpp::WebsocketHttpRequestHandler Class Reference

#include <websocket_request_handler.hpp>

List of all members.

Public Member Functions

bool 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_

Detailed Description

A HTTP request handler that upgrades a HttpConnection to a WebsocketConnection.

Definition at line 19 of file websocket_request_handler.hpp.


Constructor & Destructor Documentation

Definition at line 16 of file websocket_request_handler.cpp.


Member Function Documentation

bool 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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Sat Jun 8 2019 18:56:51