|
drogon
C++14/17-based HTTP application framework
|
This plugin is used to add global filters to all HTTP requests. The json configuration is as follows: More...
#include <drogon/plugins/GlobalFilters.h>


Public Member Functions | |
| void | initAndStart (const Json::Value &config) override |
| void | shutdown () override |
| Public Member Functions inherited from drogon::PluginBase | |
| void | initialize () |
| This method must be called by drogon. | |
| Public Member Functions inherited from drogon::DrObject< GlobalFilters > | |
| const std::string & | className () const override |
| Get the class name. | |
| bool | isClass (const std::string &class_name) const override |
| Return true if the class name is 'class_name'. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from drogon::DrObject< GlobalFilters > | |
| static const std::string & | classTypeName () |
This plugin is used to add global filters to all HTTP requests. The json configuration is as follows:
|
overridevirtual |
This method must be called by drogon to initialize and start the plugin. It must be implemented by the user.
Implements drogon::PluginBase.
|
overridevirtual |
This method must be called by drogon to shutdown the plugin. It must be implemented by the user.
Implements drogon::PluginBase.