OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OpenAB::HttpSession Class Reference

HttpSession class. Allows to send Http requests. More...

#include <Http.hpp>

Public Member Functions

 HttpSession ()
 Constructor. More...
 
virtual ~HttpSession ()
 Destructor, virtual by default. More...
 
bool init ()
 Initializes http session. More...
 
void cleanup ()
 Cleans up http session. More...
 
bool execute (HttpMessage *msg)
 Executes given http message. After executing message object will be updated with response, response code etc. More...
 
void enableTrace (bool enabled)
 

Detailed Description

HttpSession class. Allows to send Http requests.

Constructor & Destructor Documentation

OpenAB::HttpSession::HttpSession ( )

Constructor.

OpenAB::HttpSession::~HttpSession ( )
virtual

Destructor, virtual by default.

Member Function Documentation

void OpenAB::HttpSession::cleanup ( )

Cleans up http session.

void OpenAB::HttpSession::enableTrace ( bool  enabled)
bool OpenAB::HttpSession::execute ( HttpMessage msg)

Executes given http message. After executing message object will be updated with response, response code etc.

Parameters
[in]msgmessage to be executed.
Returns
true if request was executed successfully, false otherwise.
bool OpenAB::HttpSession::init ( )

Initializes http session.


The documentation for this class was generated from the following files: