27 #ifndef TUFAO_HTTPSERVERPLUGIN_H
28 #define TUFAO_HTTPSERVERPLUGIN_H
39 #define TUFAO_HTTPSERVERPLUGIN_IID "Tufao::HttpServerPlugin/1.0"
41 #include <QtCore/QVariant>
42 #include <QtCore/QObject>
43 #include "tufao_global.h"
48 class HttpServerRequest;
49 class HttpServerResponse;
81 virtual std::function<bool(HttpServerRequest&, HttpServerResponse&)>
82 createHandler(
const QHash<QString, HttpServerPlugin*> &dependencies,
83 const QVariant &customData = QVariant()) = 0;
90 #endif // TUFAO_HTTPSERVERPLUGIN_H
This is the namespace where all Tufão facilities are grouped.
Definition: abstracthttpserverrequesthandler.h:30
#define TUFAO_HTTPSERVERPLUGIN_IID
This definition stores the Tufao::HttpServerPlugin interface IID.
Definition: httpserverplugin.h:39
This class provides a factory interface to create request handlers and comunicate with factories of o...
Definition: httpserverplugin.h:69