Public Member Functions | Private Attributes
async_web_server_cpp::StaticHttpRequestHandler Class Reference

#include <http_reply.hpp>

List of all members.

Public Member Functions

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

Detailed Description

Request Handler that serves a predefined response

Definition at line 121 of file http_reply.hpp.


Constructor & Destructor Documentation

async_web_server_cpp::StaticHttpRequestHandler::StaticHttpRequestHandler ( HttpReply::status_type  status,
const std::vector< HttpHeader > &  headers,
const std::string &  content 
)

Definition at line 376 of file http_reply.cpp.


Member Function Documentation

bool async_web_server_cpp::StaticHttpRequestHandler::operator() ( const HttpRequest request,
boost::shared_ptr< HttpConnection connection,
const char *  begin,
const char *  end 
)

Definition at line 384 of file http_reply.cpp.


Member Data Documentation

Definition at line 132 of file http_reply.hpp.

Definition at line 131 of file http_reply.hpp.


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


async_web_server_cpp
Author(s): Mitchell Wills
autogenerated on Fri Mar 4 2016 11:30:14