#pragma once #include using namespace drogon; class ForwardCtrl : public drogon::HttpSimpleController { public: virtual void asyncHandleHttpRequest( const HttpRequestPtr &req, std::function &&callback) override; PATH_LIST_BEGIN // list path definitions here; PATH_ADD("/forward", Get); PATH_LIST_END };