Applied WebApplication interface changes

This commit is contained in:
0xFEEDC0DE64 committed 2018-09-22 07:23:57 +02:00
1 parent 70c6dda027
commit cc11f8645b
4 files changed
+13 -8

No files matched your search

+6 -1
View File
@@ -4,14 +4,19 @@
class QJsonObject;
class WebServer;
class ProxyApplication : public WebApplication
{
Q_OBJECT
public:
ProxyApplication(const QJsonObject &config, QObject *parent = Q_NULLPTR);
ProxyApplication(const QJsonObject &config, WebServer &webServer);
void start() Q_DECL_OVERRIDE;
void handleRequest(HttpClientConnection *connection, const HttpRequest &request) Q_DECL_OVERRIDE;
private:
WebServer &m_webServer;
};