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

#include <http_reply.hpp>

List of all members.

Public Member Functions

 FileHttpRequestHandler (HttpReply::status_type status, const std::string &filename, const std::vector< HttpHeader > &headers)
bool operator() (const HttpRequest &, boost::shared_ptr< HttpConnection >, const char *begin, const char *end)

Private Attributes

std::string filename_
std::vector< HttpHeaderheaders_
HttpReply::status_type status_

Detailed Description

Request Handler that serves a response from a file

Definition at line 138 of file http_reply.hpp.


Constructor & Destructor Documentation

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

Definition at line 260 of file http_reply.cpp.


Member Function Documentation

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

Definition at line 279 of file http_reply.cpp.


Member Data Documentation

Definition at line 150 of file http_reply.hpp.

Definition at line 149 of file http_reply.hpp.

Definition at line 148 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 Sat Jun 8 2019 18:56:50