Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef API_WEBAPI_H
|
||||
#define API_WEBAPI_H
|
||||
|
||||
#include <HttpPostData.h>
|
||||
#include <ctpl_stl.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace Http {
|
||||
|
||||
class HttpClient;
|
||||
|
||||
} // namespace Http
|
||||
|
||||
namespace CameraRecorder {
|
||||
namespace API {
|
||||
|
||||
class WebAPI
|
||||
{
|
||||
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);
|
||||
};
|
||||
|
||||
} // namespace API
|
||||
} // namespace DomoticaServer
|
||||
|
||||
#endif // API_WEBAPI_H
|
||||
Reference in New Issue
Block a user