Beispiel #1
0
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);
}
Beispiel #2
0
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);
}