diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-05 15:54:03 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-05 15:54:03 +0300 |
commit | 14c4e44a0a91e1ad701d4ae3c58185d25118e64e (patch) | |
tree | 50f36035466f355c74373e757bc00b6610ce6267 /protocols/CloudFile/src/cloud_file.h | |
parent | 94667140aeb3886d22e4c1301423fe99aaf3fba4 (diff) |
Netlib:
- NETLIBHTTPHEADER & NETLIBHTTPREQUEST obsoleted;
- NETLIBHTTPREQUEST divided into MHttpRequest & MHttpResponse;
- MHttpHeaders now manager headers both for MHttpRequest & MHttpResponse;
Diffstat (limited to 'protocols/CloudFile/src/cloud_file.h')
-rw-r--r-- | protocols/CloudFile/src/cloud_file.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/CloudFile/src/cloud_file.h b/protocols/CloudFile/src/cloud_file.h index de053af431..4a5b91da72 100644 --- a/protocols/CloudFile/src/cloud_file.h +++ b/protocols/CloudFile/src/cloud_file.h @@ -18,15 +18,15 @@ protected: std::string PreparePath(const std::string &path) const; virtual char* HttpStatusToError(int status = 0); - virtual void HttpResponseToError(NETLIBHTTPREQUEST *response); - virtual void HandleHttpError(NETLIBHTTPREQUEST *response); + virtual void HttpResponseToError(MHttpResponse *response); + virtual void HandleHttpError(MHttpResponse *response); virtual void HandleJsonError(JSONNode &node) = 0; // events void OnModulesLoaded() override; MWindow OnCreateAccMgrUI(MWindow) override; - JSONNode GetJsonResponse(NETLIBHTTPREQUEST *response); + JSONNode GetJsonResponse(MHttpResponse *response); virtual void Upload(FileTransferParam *ftp) = 0; |