4 #include <unordered_map> 19 std::unordered_map<std::string, std::string> *
map;
73 std::unordered_map<std::string, std::string> *
getMap();
86 virtual void exec() = 0;
std::unordered_map< std::string, std::string > * map
Definition: middleware.h:19
class wrapper of HTTP response
Definition: response.h:13
virtual bool autoExec()=0
Middleware(const char *nameID)
std::unordered_map< std::string, std::string > * getMap()
void addValueToMap(const char *key, const char *value)
void setContent(Request *request, Response *response)
class wrapper of HTTP request
Definition: request.h:14
class wrapper for middleware
Definition: middleware.h:14
bool getValueFromMap(const char *key, std::string &value)
Request * request
Definition: middleware.h:17
Response * response
Definition: middleware.h:18