Files
DbWebserver-helloworldplugin/helloworldapplication.h

23 lines
412 B
C
Raw Permalink Normal View History

2018-09-17 19:24:38 +02:00
#pragma once
#include "webapplication.h"
class QJsonObject;
class WebServer;
2018-09-17 19:24:38 +02:00
class HelloWorldApplication : public WebApplication
{
Q_OBJECT
public:
HelloWorldApplication(const QJsonObject &config, WebServer &webServer);
2018-09-17 19:24:38 +02:00
void start() Q_DECL_OVERRIDE;
2018-09-22 03:07:20 +02:00
void handleRequest(HttpClientConnection *connection, const HttpRequest &request) Q_DECL_OVERRIDE;
private:
WebServer &m_webServer;
2018-09-17 19:24:38 +02:00
};