14 #include <restinio/request_handler.hpp> 178 store_to( std::size_t index, Head && head, Tail && ...tail )
187 if constexpr( 0u !=
sizeof...(
tail) )
207 template<
typename... Handlers >
211 "Wrong number of parameters for the constructor of " 212 "fixed_size_chain_t<Size>. Exact `Size` parameters expected" );
std::array< handler_holder_t, Size > m_handlers
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, std::optional< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in std::optional<Value_Type> if parameter exis...
fixed_size_chain_t(Handlers &&...handlers)
Initializing constructor.
request_handling_status_t operator()(const actual_request_handle_t &req) const
A holder of fixed-size chain of synchronous handlers.
fixed_size_chain_t()=delete
void store_to(std::size_t index, Head &&head, Tail &&...tail)