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

+4 -4
View File
@@ -1,18 +1,18 @@
#include "proxyapplication.h"
#include "webserver.h"
#include "httprequest.h"
#include "httpresponse.h"
#include "httpclientconnection.h"
ProxyApplication::ProxyApplication(const QJsonObject &config, QObject *parent) :
WebApplication(parent)
ProxyApplication::ProxyApplication(const QJsonObject &config, WebServer &webServer) :
WebApplication(&webServer), m_webServer(webServer)
{
Q_UNUSED(config)
}
void ProxyApplication::start()
{
}
void ProxyApplication::handleRequest(HttpClientConnection *connection, const HttpRequest &request)