The common handler for all incoming requests.
#include <file_handler.hpp>
Public Member Functions | |
file_handler (const std::string &doc_root) | |
Construct with a directory containing files to be served. | |
bool | operator() (const request &req, const std::string &path, reply &rep) |
Handle a request and produce a reply. |
Definition at line 24 of file file_handler.hpp.