/home/bradarant/barant/HTTPServer/HTTPSessions.h
#ifndef __HTTPSessions_h__
#define __HTTPSessions_h__
#include "HTTPRequest.h"
namespace http {
class HTTPSession;
class HTTPSessions {
public:
HTTPSession * findSessionByHeader(HTTPRequest &httpRequest);
HTTPSession * findSessionById(std::string sessionId, HTTPRequest &httpRequest);
private:
HTTPSession * createHTTPSession();
std::string generateSessionId();
std::map<std::string, HTTPSession*> sessions;
};
}
#endif
http::HTTPSession
Definition: HTTPSession.h:9
http
Definition: __configure.h:4
http::HTTPSessions
Definition: HTTPSessions.h:10
http::HTTPRequest
Definition: HTTPRequest.h:11