|
restclient-cpp
C++ client for making HTTP/REST requests
|
libcurl wrapper for REST calls More...
#include <curl/curl.h>#include <string>#include <map>#include <cstdlib>#include "restclient-cpp/version.h"Go to the source code of this file.
Classes | |
| struct | RestClient::Response |
| This structure represents the HTTP response data. More... | |
Namespaces | |
| RestClient | |
| namespace for all RestClient definitions | |
Typedefs | |
| typedef std::map< std::string, std::string > | RestClient::HeaderFields |
Functions | |
| int | RestClient::init () |
| global init function. Call this before you start any threads. | |
| void | RestClient::disable () |
| global disable function. Call this before you terminate your program. | |
| Response | RestClient::get (const std::string &url) |
| HTTP GET method. More... | |
| Response | RestClient::post (const std::string &url, const std::string &content_type, const std::string &data) |
| HTTP POST method. More... | |
| Response | RestClient::put (const std::string &url, const std::string &content_type, const std::string &data) |
| HTTP PUT method. More... | |
| Response | RestClient::del (const std::string &url) |
| HTTP DELETE method. More... | |
| Response | RestClient::head (const std::string &url) |
| HTTP HEAD method. More... | |
libcurl wrapper for REST calls
1.8.9.1