tufao
1.3.0
An asynchronous web framework for C++ built on top of Qt
|
This class provides a factory interface to create request handlers and comunicate with factories of other plugins. More...
Public Member Functions | |
virtual std::function< bool(HttpServerRequest &, HttpServerResponse &)> | createHandler (const QHash< QString, HttpServerPlugin * > &dependencies, const QVariant &customData=QVariant())=0 |
Creates a persistent handler. More... | |
This class provides a factory interface to create request handlers and comunicate with factories of other plugins.
An example follows:
And its implementation file:
|
pure virtual |
Creates a persistent handler.