Files
DbWebserver-proxyplugin/proxyapplication.h

23 lines
402 B
C
Raw Permalink Normal View History

2018-09-17 19:25:45 +02:00
#pragma once
#include "webapplication.h"
class QJsonObject;
class WebServer;
2018-09-17 19:25:45 +02:00
class ProxyApplication : public WebApplication
{
Q_OBJECT
public:
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;
private:
WebServer &m_webServer;
2018-09-17 19:25:45 +02:00
};