Update Http Library

This commit is contained in:
2020-06-10 22:17:13 +02:00
parent a161173dec
commit b01fdb8be8
3 changed files with 35 additions and 22 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
#define API_WEBAPI_H
#include <HttpPostData.h>
#include <HttpServer.h>
#include <ctpl_stl.h>
#include <string>
#include <vector>
@@ -22,7 +23,7 @@ public:
WebAPI();
~WebAPI();
static std::string ProcessQuery(ctpl::thread_pool* pThreadPool, Http::HttpClient* pHttpClient, const std::string& path, const std::string& ffmpeg, const std::string& uri, const std::vector<Http::HttpPostData>& postData);
static Http::HttpServer::HttpReply ProcessQuery(ctpl::thread_pool* pThreadPool, Http::HttpClient* pHttpClient, const std::string& path, const std::string& ffmpeg, const std::string& uri, const std::vector<Http::HttpPostData>& postData);
};
} // namespace API