Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields  

sword::HttpSession Class Reference

An Http session. More...


Public Methods

 HttpSession (const std::string &agent)
 Creates an http session.

void setReferer (const std::string &referer)
 reset the referer for following requests

void setHttpProxy (const std::string &host, word port)
 configure the http proxy server

void setHttpProxy (const URL &url)
 configure the http proxy server


Friends

class HttpClient


Detailed Description

An Http session.


Constructor & Destructor Documentation

sword::HttpSession::HttpSession const std::string &    agent
 

Creates an http session.

'agent' is the agent (browser) name that will be sent to the http server in the request


Member Function Documentation

void sword::HttpSession::setHttpProxy const URL   url
 

configure the http proxy server

void sword::HttpSession::setHttpProxy const std::string &    host,
word    port
 

configure the http proxy server

void sword::HttpSession::setReferer const std::string &    referer
 

reset the referer for following requests


Generated on Tue Dec 23 20:08:57 2003 for SWORD by doxygen1.3-rc2