SNode.C
|
#include <Router.h>
Public Member Functions | |
Router () | |
Router (const Router &)=default | |
void | laxRouting (bool strict=false) |
Route & | use (const Router &router) const |
Route & | use (const std::string &relativeMountPath, const Router &router) const |
Route & | use (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | use (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | use (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | use (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | use (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | use (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | use (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | use (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | all (const Router &router) const |
Route & | all (const std::string &relativeMountPath, const Router &router) const |
Route & | all (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | all (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | all (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | all (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | all (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | all (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | all (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | all (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | get (const Router &router) const |
Route & | get (const std::string &relativeMountPath, const Router &router) const |
Route & | get (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | get (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | get (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | get (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | get (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | get (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | get (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | get (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | put (const Router &router) const |
Route & | put (const std::string &relativeMountPath, const Router &router) const |
Route & | put (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | put (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | put (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | put (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | put (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | put (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | put (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | put (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | post (const Router &router) const |
Route & | post (const std::string &relativeMountPath, const Router &router) const |
Route & | post (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | post (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | post (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | post (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | post (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | post (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | post (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | post (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | del (const Router &router) const |
Route & | del (const std::string &relativeMountPath, const Router &router) const |
Route & | del (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | del (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | del (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | del (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | del (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | del (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | del (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | del (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | connect (const Router &router) const |
Route & | connect (const std::string &relativeMountPath, const Router &router) const |
Route & | connect (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | connect (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | connect (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | connect (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | connect (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | connect (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | connect (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | connect (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | options (const Router &router) const |
Route & | options (const std::string &relativeMountPath, const Router &router) const |
Route & | options (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | options (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | options (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | options (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | options (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | options (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | options (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | options (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | trace (const Router &router) const |
Route & | trace (const std::string &relativeMountPath, const Router &router) const |
Route & | trace (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | trace (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | trace (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | trace (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | trace (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | trace (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | trace (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | trace (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | patch (const Router &router) const |
Route & | patch (const std::string &relativeMountPath, const Router &router) const |
Route & | patch (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | patch (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | patch (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | patch (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | patch (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | patch (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | patch (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | patch (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Route & | head (const Router &router) const |
Route & | head (const std::string &relativeMountPath, const Router &router) const |
Route & | head (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | head (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda) const |
Route & | head (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
Route & | head (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda) const |
template<typename... Lambdas> | |
Route & | head (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | head (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | head (const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
template<typename... Lambdas> | |
Route & | head (const std::string &relativeMountPath, const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> &lambda, Lambdas... lambdas) const |
Protected Attributes | |
std::shared_ptr< RootRoute > | rootRoute = nullptr |
Friends | |
class | Route |
class | RootRoute |
express::Router::Router | ( | ) |
|
default |
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 58 of file Router.hpp.
Route & express::Router::all | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 58 of file Router.hpp.
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 58 of file Router.hpp.
Route & express::Router::all | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 61 of file Router.cpp.
Route & express::Router::all | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 58 of file Router.hpp.
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 63 of file Router.hpp.
Route & express::Router::connect | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 63 of file Router.hpp.
Route & express::Router::connect | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 63 of file Router.hpp.
Route & express::Router::connect | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 66 of file Router.cpp.
Route & express::Router::connect | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 63 of file Router.hpp.
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 62 of file Router.hpp.
Route & express::Router::del | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 62 of file Router.hpp.
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 62 of file Router.hpp.
Route & express::Router::del | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 65 of file Router.cpp.
Route & express::Router::del | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 62 of file Router.hpp.
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 59 of file Router.hpp.
Route & express::Router::get | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 59 of file Router.hpp.
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 59 of file Router.hpp.
Route & express::Router::get | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 62 of file Router.cpp.
Route & express::Router::get | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 59 of file Router.hpp.
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 67 of file Router.hpp.
Route & express::Router::head | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 67 of file Router.hpp.
Route & express::Router::head | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 67 of file Router.hpp.
Route & express::Router::head | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 70 of file Router.cpp.
Route & express::Router::head | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 67 of file Router.hpp.
void express::Router::laxRouting | ( | bool | strict = false | ) |
Definition at line 56 of file Router.cpp.
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 64 of file Router.hpp.
Route & express::Router::options | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 64 of file Router.hpp.
Route & express::Router::options | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 64 of file Router.hpp.
Route & express::Router::options | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 67 of file Router.cpp.
Route & express::Router::options | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 64 of file Router.hpp.
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 66 of file Router.hpp.
Route & express::Router::patch | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 66 of file Router.hpp.
Route & express::Router::patch | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 66 of file Router.hpp.
Route & express::Router::patch | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 69 of file Router.cpp.
Route & express::Router::patch | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 66 of file Router.hpp.
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 61 of file Router.hpp.
Route & express::Router::post | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 61 of file Router.hpp.
Route & express::Router::post | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 61 of file Router.hpp.
Route & express::Router::post | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 64 of file Router.cpp.
Route & express::Router::post | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 61 of file Router.hpp.
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 60 of file Router.hpp.
Route & express::Router::put | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 60 of file Router.hpp.
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 60 of file Router.hpp.
Route & express::Router::put | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 63 of file Router.cpp.
Route & express::Router::put | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 60 of file Router.hpp.
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 65 of file Router.hpp.
Route & express::Router::trace | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 65 of file Router.hpp.
Route & express::Router::trace | ( | const std::string & | relativeMountPath, |
const Router & | router ) const |
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 65 of file Router.hpp.
Route & express::Router::trace | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 68 of file Router.cpp.
Route & express::Router::trace | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 65 of file Router.hpp.
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda | ) | const |
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 57 of file Router.hpp.
Route & express::Router::use | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda | ) | const |
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, |
Lambdas... | lambdas ) const |
Definition at line 57 of file Router.hpp.
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda ) const |
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 57 of file Router.hpp.
Route & express::Router::use | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda ) const |
Definition at line 60 of file Router.cpp.
Route & express::Router::use | ( | const std::string & | relativeMountPath, |
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &, Next &)> & | lambda, | ||
Lambdas... | lambdas ) const |
Definition at line 57 of file Router.hpp.
|
protected |