void HttpManager::SetCookie( std::string url, const std::string& cookie_data ) { CookieManager::Cookies* p = cookies_manager_.GetCookies(url, true); if(p) p->SetString(NULL, cookie_data); }
void HttpManager::GetCookies( std::string url, std::string& out_data ) { CookieManager::Cookies* p = cookies_manager_.GetCookies(url, true); if(p) p->GetString(NULL, out_data); }