|
drogon
C++14/17-based HTTP application framework
|
The reflection base class template for HTTP controllers. More...
#include <drogon/HttpController.h>


Static Public Attributes | |
| static constexpr bool | isAutoCreation = AutoCreation |
Static Protected Member Functions | |
| template<typename FUNCTION> | |
| static void | registerMethod (FUNCTION &&function, const std::string &pattern, const std::vector< internal::HttpConstraint > &constraints={}, bool classNameInPath=true, const std::string &handlerName="") |
| template<typename FUNCTION> | |
| static void | registerMethodViaRegex (FUNCTION &&function, const std::string ®Exp, const std::vector< internal::HttpConstraint > &constraints=std::vector< internal::HttpConstraint >{}, const std::string &handlerName="") |
Additional Inherited Members | |
| Public Member Functions inherited from drogon::DrObject< T > | |
| 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'. | |
| Static Public Member Functions inherited from drogon::DrObject< T > | |
| static const std::string & | classTypeName () |
The reflection base class template for HTTP controllers.
| T | the type of the implementation class |
| AutoCreation | The flag for automatically creating, user can set this flag to false for classes that have nondefault constructors. |