DVBLink Remote API Library documentation
0.2.0-Master
|
An abstract base class for communicating with a server using the HTTP protocol. More...
Public Member Functions | |
virtual bool | SendRequest (HttpWebRequest &request)=0 |
Send a HTTP request. | |
virtual HttpWebResponse * | GetResponse ()=0 |
Get the HTTP response returned from a HTTP request. | |
virtual void | GetLastError (std::string &err)=0 |
Gets a description of the last occured error. | |
virtual void | UrlEncode (const std::string &str, std::string &outEncodedStr)=0 |
URL encodes a string. |
An abstract base class for communicating with a server using the HTTP protocol.
|
pure virtual |
Gets a description of the last occured error.
[in,out] | err | A string reference representing the string where the description of the last error will be provided. |
|
pure virtual |
Get the HTTP response returned from a HTTP request.
|
pure virtual |
Send a HTTP request.
[in] | request | A HttpWebRequest reference representing the HTTP request to be sent. |
|
pure virtual |
URL encodes a string.
[in] | str | A constant string reference representing the url to be encoded. |
[in,out] | outEncodedStr | A constant string reference where the encoded url will be written. |