RESTinio
Classes | Namespaces | Typedefs | Functions
express.hpp File Reference
#include <restinio/router/impl/target_path_holder.hpp>
#include <restinio/router/non_matched_request_handler.hpp>
#include <restinio/optional.hpp>
#include <restinio/path2regex/path2regex.hpp>
#include <restinio/router/std_regex_engine.hpp>
#include <restinio/router/method_matcher.hpp>
#include <restinio/utils/from_string.hpp>
#include <restinio/utils/percent_encoding.hpp>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

class  restinio::router::route_params_t
 Parameters extracted from route. More...
 
struct  restinio::router::impl::route_params_accessor_t
 Route params private internals accessor. More...
 
class  restinio::router::impl::route_params_appender_t
 Helper class for gthering parameters from route. More...
 
class  restinio::router::impl::route_matcher_t< Regex_Engine >
 A matcher for a given path. More...
 
class  restinio::router::express_route_entry_t< Regex_Engine >
 A single express route entry. More...
 
class  restinio::router::express_router_t< Regex_Engine >
 Express.js style router. More...
 

Namespaces

 restinio
 
 restinio::router
 
 restinio::router::impl
 

Typedefs

using restinio::router::impl::param_appender_sequence_t = path2regex::param_appender_sequence_t< route_params_appender_t >
 
using restinio::router::express_request_handler_t = std::function< request_handling_status_t(request_handle_t, route_params_t) >
 

Functions

template<typename Value_Type >
Value_Type restinio::get (const router::route_params_t &params, string_view_t key)
 Cast named parameter value to a given type. More...
 
template<typename Value_Type >
Value_Type restinio::get (const router::route_params_t &params, std::size_t index)
 Cast indexed parameter value to a given type. More...