| 30 | } |
| 31 | |
| 32 | static void onError(unsigned handle, void* parent, int statuserror) { |
| 33 | http* req = reinterpret_cast<http*>(parent); |
| 34 | req->onError(statuserror); |
| 35 | } |
| 36 | |
| 37 | static void onProgress(unsigned handle, void* parent, int progress) { |
| 38 | http* req = reinterpret_cast<http*>(parent); |