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
+1 -1
View File
@@ -41,7 +41,7 @@ int main(int argc, char** argv)
ctpl::thread_pool threadPool(6);
Http::HttpClient httpClient;
auto callback = std::bind(&CameraRecorder::API::WebAPI::ProcessQuery, &threadPool, &httpClient, path.str(), ffmpeg, std::placeholders::_1, std::placeholders::_2);
Http::HttpServer::CallbackMethod callback = std::bind(&CameraRecorder::API::WebAPI::ProcessQuery, &threadPool, &httpClient, path.str(), ffmpeg, std::placeholders::_1, std::placeholders::_2);
Http::HttpServer server(port, callback);
Logging::Log(Logging::Severity::Info, "Startup Complete");