Applied WebApplication interface changes
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
#include "helloworldapplication.h"
|
||||
|
||||
#include "webserver.h"
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httpclientconnection.h"
|
||||
|
||||
HelloWorldApplication::HelloWorldApplication(const QJsonObject &config, QObject *parent) :
|
||||
WebApplication(parent)
|
||||
HelloWorldApplication::HelloWorldApplication(const QJsonObject &config, WebServer &webServer) :
|
||||
WebApplication(&webServer), m_webServer(webServer)
|
||||
{
|
||||
|
||||
Q_UNUSED(config)
|
||||
}
|
||||
|
||||
void HelloWorldApplication::start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void HelloWorldApplication::handleRequest(HttpClientConnection *connection, const HttpRequest &request)
|
||||
|
||||
Reference in New Issue
Block a user