// GPLv3 (c) acetone, 2022 // Zero Storage Captcha #ifndef HTTPSERVER_H #define HTTPSERVER_H #include #include #include class HttpServer : public QTcpServer { Q_OBJECT public: explicit HttpServer(const QString& address, quint16 port, int threads, QObject *parent = nullptr); private: QThreadPool *m_pool; void incomingConnection (qintptr handle) override; }; #endif // HTTPSERVER_H