11 #ifndef HTTP_REQUEST_HANDLER_HPP 12 #define HTTP_REQUEST_HANDLER_HPP 15 #include <boost/noncopyable.hpp> 25 :
private boost::noncopyable
36 std::string doc_root_;
40 static bool url_decode(
const std::string& in, std::string& out);
46 #endif // HTTP_REQUEST_HANDLER_HPP void handle_request(const request &req, reply &rep)
Handle a request and produce a reply.
The common handler for all incoming requests.
request_handler(const std::string &doc_root)
Construct with a directory containing files to be served.
A reply to be sent to a client.
A request received from a client.