Update Http Library
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user