2018-09-17 19:25:45 +02:00
|
|
|
#include "proxyplugin.h"
|
|
|
|
|
|
|
|
|
|
#include "proxyapplication.h"
|
|
|
|
|
|
|
|
|
|
ProxyPlugin::ProxyPlugin(QObject *parent) :
|
|
|
|
|
WebPlugin(parent)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QString ProxyPlugin::pluginName() const
|
|
|
|
|
{
|
|
|
|
|
return QStringLiteral("proxy");
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-22 07:23:57 +02:00
|
|
|
WebApplication *ProxyPlugin::createApplication(const QJsonObject &config, WebServer &webServer) const
|
2018-09-17 19:25:45 +02:00
|
|
|
{
|
2018-09-22 07:23:57 +02:00
|
|
|
return new ProxyApplication(config, webServer);
|
2018-09-17 19:25:45 +02:00
|
|
|
}
|