|
| | CurlUtils () |
| |
| virtual | ~CurlUtils () |
| |
|
std::string | getUrl (std::string url, bool printStats=false) |
| |
|
std::string | postUserPass (std::string url, std::string user, std::string pass, std::string challenge) |
| |
|
| enum | { OPTION_FALSE = 0,
OPTION_TRUE = 1
} |
| |
|
|
static size_t | handleData (void *buffer, size_t size, size_t nmemb, void *userp) |
| |
|
|
std::ostringstream | lastRead_ |
| |
Constructor.
....................................................................... Constructor.
| CurlUtils::~CurlUtils |
( |
| ) |
|
|
virtual |
Destructor.
....................................................................... Destructor.
| void CurlUtils::cleanUp |
( |
CURL * |
ctx | ) |
|
|
protected |
....................................................................... Cleanup the CURL interface
| CURL * CurlUtils::initCurl |
( |
| ) |
|
|
protected |
....................................................................... Initialize the CURL interface
| const CURLcode CurlUtils::performRequest |
( |
CURL * |
ctx, |
|
|
bool |
printStats |
|
) |
| |
|
protected |
....................................................................... Perform the request specified, and return stats about it, if printStats=true
| void CurlUtils::setUrl |
( |
CURL * |
ctx, |
|
|
std::string |
url |
|
) |
| |
|
protected |
....................................................................... Set up a URL to fetch
The documentation for this class was generated from the following files:
- gcpCbass/util/common/CurlUtils.h
- gcpCbass/util/common/CurlUtils.cc