Initial Commit

This commit is contained in:
2023-03-18 13:11:34 +01:00
commit 1407b93895
15 changed files with 386 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef API_WEBAPI_H
#define API_WEBAPI_H
#include <HttpPostData.h>
#include <HttpServer.h>
#include <ctpl_stl.h>
#include <string>
#include <vector>
namespace StreamRecoder {
namespace API {
class WebAPI
{
public:
WebAPI();
~WebAPI();
static Http::HttpServer::HttpReply ProcessQuery(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, const std::string& uri, const std::vector<Http::HttpPostData>& postData);
};
} // namespace API
} // namespace StreamRecoder
#endif // API_WEBAPI_H