HttpSession class. Allows to send Http requests.
More...
#include <Http.hpp>
HttpSession class. Allows to send Http requests.
OpenAB::HttpSession::HttpSession |
( |
| ) |
|
OpenAB::HttpSession::~HttpSession |
( |
| ) |
|
|
virtual |
Destructor, virtual by default.
void OpenAB::HttpSession::cleanup |
( |
| ) |
|
void OpenAB::HttpSession::enableTrace |
( |
bool |
enabled | ) |
|
Executes given http message. After executing message object will be updated with response, response code etc.
- Parameters
-
[in] | msg | message 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:
- /home/one/open-address-book/src/helpers/Http.hpp
- /home/one/open-address-book/src/helpers/Http.cpp