2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#ifndef EXPRESS_DISPATCHER_REGEX_UTILS_H
43#define EXPRESS_DISPATCHER_REGEX_UTILS_H
49#ifndef DOXYGEN_SHOULD_SKIP_THIS
59 std::string
path_concat(
const std::vector<std::string>& stringvec);
61 std::vector<std::string>
explode(
const std::string& s,
char delim);
69 bool matchFunction(
const std::string& cpath,
const std::string& reqpath);
const std::shared_ptr< Request > & getRequest()
bool getStrictRouting() const
const std::shared_ptr< Response > & getResponse()
std::shared_ptr< Route > nextRoute
std::list< std::string > getRoute(const std::string &parentMountPath, bool strictRouting) const
const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> lambda
bool dispatch(express::Controller &controller, const std::string &parentMountPath, const express::MountPoint &mountPoint) override
std::list< std::string > getRoutes(const std::string &parentMountPath, const MountPoint &mountPoint, bool strictRouting) const override
ApplicationDispatcher(const std::function< void(const std::shared_ptr< Request > &, const std::shared_ptr< Response > &)> &lambda)
bool checkForUrlMatch(const std::string &cpath, const std::string &reqpath)
void setParams(const std::string &cpath, express::Request &req)
std::smatch matchResult(const std::string &cpath)
bool hasResult(const std::string &cpath)
std::string path_concat(const std::vector< std::string > &stringvec)
bool matchFunction(const std::string &cpath, const std::string &reqpath)
std::vector< std::string > explode(const std::string &s, char delim)
const std::regex & pathRegex()
std::string relativeMountPath