summaryrefslogtreecommitdiff
path: root/src/protocols/httpserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/httpserver.h')
-rw-r--r--src/protocols/httpserver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocols/httpserver.h b/src/protocols/httpserver.h
index 600ead4..bfc1e56 100644
--- a/src/protocols/httpserver.h
+++ b/src/protocols/httpserver.h
@@ -29,6 +29,11 @@ public:
const uint16_t port = DefaultPort);
~HttpServer() override = default;
+ // IProtocol
+public:
+ bool start() override;
+ void stop() override;
+
// TODO: methods starting with GET_/POST_ will be routed automatically
public:
QHttpServerResponse GET_image();