#include <http_reply.hpp>
Public Member Functions | |
FilesystemHttpRequestHandler (HttpReply::status_type status, const std::string &path_root, const std::string &filesystem_root, bool list_directories, const std::vector< HttpHeader > &headers) | |
bool | operator() (const HttpRequest &, boost::shared_ptr< HttpConnection >, const char *begin, const char *end) |
Private Attributes | |
boost::filesystem::path | filesystem_root_ |
std::vector< HttpHeader > | headers_ |
bool | list_directories_ |
std::string | path_root_ |
HttpReply::status_type | status_ |
Request Handler that serves a responses from the filesystem from a base path
Definition at line 163 of file http_reply.hpp.
async_web_server_cpp::FilesystemHttpRequestHandler::FilesystemHttpRequestHandler | ( | HttpReply::status_type | status, |
const std::string & | path_root, | ||
const std::string & | filesystem_root, | ||
bool | list_directories, | ||
const std::vector< HttpHeader > & | headers | ||
) |
Definition at line 322 of file http_reply.cpp.
bool async_web_server_cpp::FilesystemHttpRequestHandler::operator() | ( | const HttpRequest & | request, |
boost::shared_ptr< HttpConnection > | connection, | ||
const char * | begin, | ||
const char * | end | ||
) |
Definition at line 331 of file http_reply.cpp.
|
private |
Definition at line 179 of file http_reply.hpp.
|
private |
Definition at line 177 of file http_reply.hpp.
|
private |
Definition at line 180 of file http_reply.hpp.
|
private |
Definition at line 178 of file http_reply.hpp.
|
private |
Definition at line 176 of file http_reply.hpp.