Applied WebApplication interface changes
This commit is contained in:
1 parent
70c6dda027
commit
cc11f8645b
4 files changed
+13
-8
No files matched your search
+6
-1
@@ -4,14 +4,19 @@
|
||||
|
||||
class QJsonObject;
|
||||
|
||||
class WebServer;
|
||||
|
||||
class ProxyApplication : public WebApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ProxyApplication(const QJsonObject &config, QObject *parent = Q_NULLPTR);
|
||||
ProxyApplication(const QJsonObject &config, WebServer &webServer);
|
||||
|
||||
void start() Q_DECL_OVERRIDE;
|
||||
|
||||
void handleRequest(HttpClientConnection *connection, const HttpRequest &request) Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
WebServer &m_webServer;
|
||||
};
|
||||
Reference in new issue
Block a user