示例#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);
}
示例#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);
}