CPPMyth
Library to interoperate with MythTV server
|
Public Member Functions | |
WSRequest (const std::string &server, unsigned port) | |
WSRequest (const std::string &server, unsigned port, bool secureURI) | |
WSRequest (const URIParser &uri, HRM_t method=HRM_GET) | |
void | RequestService (const std::string &url, HRM_t method=HRM_GET) |
void | RequestAccept (CT_t contentType) |
void | RequestAcceptEncoding (bool yesno) |
void | SetUserAgent (const std::string &value) |
void | SetContentParam (const std::string ¶m, const std::string &value) |
void | SetContentCustom (CT_t contentType, const char *content) |
void | SetHeader (const std::string &field, const std::string &value) |
const std::string & | GetContent () const |
void | ClearContent () |
void | MakeMessage (std::string &msg) const |
const std::string & | GetServer () const |
unsigned | GetPort () const |
bool | IsSecureURI () const |
Definition at line 51 of file wsrequest.h.