#include <http.h>

Public Member Functions | |
| bool | SetCookie (CHTTPConnectInfo &info, const std::string &cookie) |
| bool | GetCookie (CHTTPConnectInfo &info, std::string &buffer) |
Static Protected Member Functions | |
| static bool | ParseCookieSet (const std::string &str, CookieSet &cookies) |
| Parses standard Set-Cookie field. | |
Private Types | |
| typedef std::map< std::string, std::string > | CookieSet |
| typedef std::map< std::string, CookieSet > | CookieList |
| typedef std::map< std::string, CookieList > | CookieDatabase |
Private Attributes | |
| CookieDatabase | m_CookieDatabase |
| InProcessMutex | m_Mutex |
This class is used by HTTPClient class to store cookies within a single session (until HTTPClient is deleted).
typedef std::map<std::string, CookieList> BazisLib::Network::HTTP::CCookieManager::CookieDatabase [private] |
typedef std::map<std::string, CookieSet> BazisLib::Network::HTTP::CCookieManager::CookieList [private] |
typedef std::map<std::string, std::string> BazisLib::Network::HTTP::CCookieManager::CookieSet [private] |
| bool BazisLib::Network::HTTP::CCookieManager::GetCookie | ( | CHTTPConnectInfo & | info, | |
| std::string & | buffer | |||
| ) |
| static bool BazisLib::Network::HTTP::CCookieManager::ParseCookieSet | ( | const std::string & | str, | |
| CookieSet & | cookies | |||
| ) | [static, protected] |
Parses standard Set-Cookie field.
| bool BazisLib::Network::HTTP::CCookieManager::SetCookie | ( | CHTTPConnectInfo & | info, | |
| const std::string & | cookie | |||
| ) |