rikitiki
v0.1.67
Build C++ web server modules that allow easy routing and deployment.
|
#include <routing.h>
Public Types | |
typedef void(P::* | F )(ConnContext &ctx, typename sane_ref_type< T >::type...) |
Public Member Functions | |
virtual bool | visible () const |
Route_ (P *p, const std::string &_route, F _f, ConnContext::Method method) | |
int | Scan (ConnContext &ctx, T &...t) |
virtual bool | Handle (ConnContext &ctx) |
![]() | |
Route (const std::string &_route, ConnContext::Method _method) | |
Route (const std::string &_route) | |
virtual std::string | name () const |
![]() | |
virtual std::string | desc () const |
Public Attributes | |
P * | parent |
F | f |
![]() | |
std::string | route |
ConnContext::Method | method |
A route incorporates the variadic logic needed to map the Handle(ConnContext&) call to the function type.
P | Usually the module type that the route is for. |
T... | The argument types for the function to call |