Files
DbWebserver-proxyplugin/proxyapplication.h
T

22 lines
402 B
C++
Raw Normal View History

2018-09-17 19:25:45 +02:00
#pragma once
#include "webapplication.h"
class QJsonObject;
2018-09-22 07:23:57 +02:00
class WebServer;
2018-09-17 19:25:45 +02:00
class ProxyApplication : public WebApplication
{
Q_OBJECT
public:
2018-09-22 07:23:57 +02:00
ProxyApplication(const QJsonObject &config, WebServer &webServer);
2018-09-17 19:25:45 +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;
2018-09-22 07:23:57 +02:00
private:
WebServer &m_webServer;
2018-09-17 19:25:45 +02:00
};