namespace for all RestClient definitions
More...
Namespaces
: namespace for all helper functions
Classes
This structure represents the HTTP response data.
More...
Typedefs
Functions
global init function. Call this before you start any threads.
global disable function. Call this before you terminate your program.
Response post (const std::string &url, const std::string &content_type, const std::string &data)
Response put (const std::string &url, const std::string &content_type, const std::string &data)
Detailed Description
Typedef Documentation
Function Documentation
HTTP DELETE method.
- Parameters
-
url to query
- Returns
- response struct
HTTP GET method.
public methods for the simple API. These don't allow a lot of configuration but are meant for simple HTTP calls.
- Parameters
-
url to query
- Returns
- response struct
HTTP HEAD method.
- Parameters
-
url to query
- Returns
- response struct
const std::string &
ctype,
const std::string &
data
)
HTTP POST method.
- Parameters
-
url to query
ctype content type as string
data HTTP POST body
- Returns
- response struct
const std::string &
ctype,
const std::string &
data
)
HTTP PUT method.
- Parameters
-
url to query
ctype content type as string
data HTTP PUT body
- Returns
- response struct