#ifndef __HTTPSessions_h__ #define __HTTPSessions_h__ #include "Header.h" #include "Response.h" namespace http { class HTTPSession; class HTTPSessions { public: HTTPSession * findSessionByHeader(core::Header &header, core::Response &response); HTTPSession * findSessionById(std::string sessionId, core::Response &response); private: HTTPSession * createHTTPSession(); std::string generateSessionId(); std::map sessions; }; } #endif