From 5b1b873f3f09f3e1644141a2cfc67b3a84dc4492 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Fri, 14 Nov 2025 22:49:35 +0100 Subject: cleanup --- src/protocols/httpserver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocols/httpserver.h') diff --git a/src/protocols/httpserver.h b/src/protocols/httpserver.h index 64f7987..600ead4 100644 --- a/src/protocols/httpserver.h +++ b/src/protocols/httpserver.h @@ -24,14 +24,14 @@ public: static constexpr uint16_t DefaultPort{8080}; public: - explicit HttpServer(ICamera *camera, - // QObject *parent = nullptr, + explicit HttpServer(std::shared_ptr camera, const QHostAddress &address = DefaultAddress, const uint16_t port = DefaultPort); ~HttpServer() override = default; // TODO: methods starting with GET_/POST_ will be routed automatically public: + QHttpServerResponse GET_image(); QHttpServerResponse GET_pixels(); QHttpServerResponse POST_params(const QHttpServerRequest &request); -- cgit v1.2.3-70-g09d2