VideoTools
|
A callback interface for GNet::HttpClientProtocol to send data and deliver content. More...
#include <ghttpclientprotocol.h>
Public Member Functions | |
virtual void | sendHttpRequest (const std::string &)=0 |
Called by the HttpClientProtocol when it needs to send a http request string. More... | |
virtual void | onHttpBody (const std::string &outer_content_type, const std::string &content_type, const char *body, size_t body_size)=0 |
Called on receipt of a complete response, or a multipart part. More... | |
virtual | ~Callback () |
Destructor. | |
A callback interface for GNet::HttpClientProtocol to send data and deliver content.
Definition at line 50 of file ghttpclientprotocol.h.
|
pure virtual |
Called on receipt of a complete response, or a multipart part.
The first parameter is the empty string for a single-part response, and the outer content-type for a multipart part.
|
pure virtual |
Called by the HttpClientProtocol when it needs to send a http request string.