#ifndef REQUEST_HANDLER_HPP #define REQUEST_HANDLER_HPP #include "server/service_handler.hpp" #include namespace osrm { namespace server { namespace http { class reply; struct request; } class RequestHandler { public: RequestHandler() = default; RequestHandler(const RequestHandler &) = delete; RequestHandler &operator=(const RequestHandler &) = delete; void RegisterServiceHandler(std::unique_ptr service_handler); void HandleRequest(const http::request ¤t_request, http::reply ¤t_reply); private: std::unique_ptr service_handler; }; } } #endif // REQUEST_HANDLER_HPP