|
void | route (std::string const &, LambdaService::function) |
|
template<class R > |
void | resource (std::string const &path) |
|
template<class R , size_t N> |
void | resource () |
|
template<class R > |
void | resource () |
|
void | print () |
|
|
static Router * | Instance () |
|
static std::shared_ptr< Service > | getResource (std::shared_ptr< Request >, int) |
|
static Node * | match (std::string const &, std::map< std::string, std::string > &) |
|
Router resolves URL to Request::parameters and finds Service corresponding to the URL.
- See Also
- Request
-
Service