RESTinio
|
Namespaces | |
namespace | impl |
Classes | |
class | options_t |
Options for matching routes. More... | |
Typedefs | |
template<typename Route_Param_Appender > | |
using | param_appender_t = std::function< void(Route_Param_Appender &, string_view_t) > |
Appends sub-match as a request parameter to specified container. More... | |
template<typename Route_Param_Appender > | |
using | param_appender_sequence_t = std::vector< param_appender_t< Route_Param_Appender > > |
A sequence of appenders for submatches. More... | |
Functions | |
template<typename Route_Param_Appender > | |
param_appender_t< Route_Param_Appender > | make_param_setter (string_view_t key) |
Create default appender for named parameter. More... | |
template<typename Route_Param_Appender > | |
param_appender_t< Route_Param_Appender > | make_param_setter (std::size_t) |
Create default appender indexed parameter. More... | |
template<typename Route_Param_Appender , typename Regex_Engine > | |
auto | path2regex (string_view_t path, const options_t &options) |
The main path matching regexp. More... | |
using restinio::path2regex::param_appender_sequence_t = typedef std::vector< param_appender_t< Route_Param_Appender > > |
A sequence of appenders for submatches.
Definition at line 272 of file path2regex.hpp.
using restinio::path2regex::param_appender_t = typedef std::function< void ( Route_Param_Appender &, string_view_t ) > |
Appends sub-match as a request parameter to specified container.
Definition at line 263 of file path2regex.hpp.
|
inline |
Create default appender indexed parameter.
Definition at line 294 of file path2regex.hpp.
|
inline |
Create default appender for named parameter.
Definition at line 281 of file path2regex.hpp.
|
inline |
The main path matching regexp.
Definition at line 863 of file path2regex.hpp.