RESTinio
|
Namespaces | |
namespace | impl |
Functions | |
template<typename... Args> | |
auto | path_to_tuple (Args &&...args) |
Describe a route for a handler that accepts params from the route in form of a tuple. | |
template<typename... Args> | |
auto | path_to_params (Args &&...args) |
Describe a route for a handler that accepts params from the route in form of a list of separate arguments. | |
auto | path_fragment_p (char separator='/') |
A factory that creates a string-producer that extracts a sequence on symbols until the separator will be found. | |
template<typename Unescape_Traits = restinio::utils::restinio_default_unescape_traits> | |
auto | unescape () |
A factory for unescape_transformer. |
|
inlinenodiscard |
A factory that creates a string-producer that extracts a sequence on symbols until the separator will be found.
Usage example:
By default the separator is '/', by it can be changed by separator argument:
Definition at line 802 of file easy_parser_router.hpp.
|
nodiscard |
Describe a route for a handler that accepts params from the route in form of a list of separate arguments.
Usage example:
Please note that a route can contain no params at all. In that case the request handler will receive just one parameter: a requst_handle.
Definition at line 745 of file easy_parser_router.hpp.
|
nodiscard |
Describe a route for a handler that accepts params from the route in form of a tuple.
Usage example:
Please note that a route can contain no params at all. In that case an empty tuple will be passed as an argument to the request handler:
Definition at line 691 of file easy_parser_router.hpp.
|
nodiscard |
A factory for unescape_transformer.
The unescape_transformer performs unescaping of percent-encoded string.
Usage example:
Definition at line 859 of file easy_parser_router.hpp.