WebAPI.h 501 B

1234567891011121314151617181920212223242526
  1. #ifndef API_WEBAPI_H
  2. #define API_WEBAPI_H
  3. #include <HttpPostData.h>
  4. #include <HttpServer.h>
  5. #include <ctpl_stl.h>
  6. #include <string>
  7. #include <vector>
  8. namespace StreamRecoder {
  9. namespace API {
  10. class WebAPI
  11. {
  12. public:
  13. WebAPI();
  14. ~WebAPI();
  15. static Http::HttpServer::HttpReply ProcessQuery(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, const std::string& uri, const std::vector<Http::HttpPostData>& postData);
  16. };
  17. } // namespace API
  18. } // namespace StreamRecoder
  19. #endif // API_WEBAPI_H