#include "CustomCtrl.h" //add definition of your processing function here void CustomCtrl::hello(const HttpRequestPtr &req, const std::function &callback, const std::string &userName) const { auto resp = HttpResponse::newHttpResponse(); resp->setBody("

" + _greetings + ", " + userName + "

"); callback(resp); }