#include <http_reply.hpp>
Public Member Functions | |
void | operator() (const HttpRequest &, boost::shared_ptr< HttpConnection >, const char *begin, const char *end) |
StaticHttpRequestHandler (HttpReply::status_type status, const std::vector< HttpHeader > &headers, const std::string &content) | |
Private Attributes | |
const std::string | content_string_ |
ReplyBuilder | reply_builder_ |
Request Handler that serves a predefined response
Definition at line 109 of file http_reply.hpp.
async_web_server_cpp::StaticHttpRequestHandler::StaticHttpRequestHandler | ( | HttpReply::status_type | status, |
const std::vector< HttpHeader > & | headers, | ||
const std::string & | content | ||
) |
Definition at line 277 of file http_reply.cpp.
void async_web_server_cpp::StaticHttpRequestHandler::operator() | ( | const HttpRequest & | request, |
boost::shared_ptr< HttpConnection > | connection, | ||
const char * | begin, | ||
const char * | end | ||
) |
Definition at line 285 of file http_reply.cpp.
const std::string async_web_server_cpp::StaticHttpRequestHandler::content_string_ [private] |
Definition at line 120 of file http_reply.hpp.
Definition at line 119 of file http_reply.hpp.