Horizon
Public Member Functions | List of all members
HTTP::RESTClient Class Reference
Inheritance diagram for HTTP::RESTClient:
HTTP::Client

Public Member Functions

 RESTClient (const std::string &base)
 
json get (const std::string &url)
 
json post (const std::string &url, const json &postdata=json())
 
- Public Member Functions inherited from HTTP::Client
void set_auth (const std::string &user, const std::string &passwd)
 
void set_timeout (int timeout)
 
void append_header (const char *header)
 
void append_header (const std::string &header)
 
std::string get (const std::string &url)
 
std::string post (const std::string &url, const std::string &postdata="")
 

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