Callback class for our SimpleHTTPSocket.
More...
#include <SimpleHTTPSocket.h>
Callback class for our SimpleHTTPSocket.
| virtual trippingcyril::net::http::HTTPCallback::~HTTPCallback |
( |
| ) |
|
|
inlinevirtual |
| virtual void trippingcyril::net::http::HTTPCallback::OnRequestDone |
( |
unsigned short |
responseCode, |
|
|
const map< String, String > & |
headers, |
|
|
const String & |
response, |
|
|
const String & |
url |
|
) |
| |
|
pure virtual |
Called if our request finished without any http parsing errors
- Parameters
-
| responseCode | The http response code, currently all response codes will be passed to this |
| headers | The http response headers |
| response | The actual http response, in case of binary data depend on .data() and .size() |
| url | The url this is a response to |
| virtual void trippingcyril::net::http::HTTPCallback::OnRequestError |
( |
int |
errorCode, |
|
|
const String & |
url |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: