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