18 lines
353 B
C++
18 lines
353 B
C++
#pragma once
|
|
|
|
#include "webapplication.h"
|
|
|
|
class QJsonObject;
|
|
|
|
class ProxyApplication : public WebApplication
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ProxyApplication(const QJsonObject &config, QObject *parent = Q_NULLPTR);
|
|
|
|
void start() Q_DECL_OVERRIDE;
|
|
|
|
void handleRequest(HttpClientConnection *connection, const HttpRequest &request) Q_DECL_OVERRIDE;
|
|
};
|