14 #include <restinio/utils/percent_encoding.hpp> 16 #include <restinio/string_view.hpp> 66 m_data.reset(
new char[ m_size ] );
68 if( m_size != original_path.size() )
70 restinio::utils::uri_normalization::unreserved_chars::
71 normalize_to( original_path, m_data.get() );
75 original_path.begin(), original_path.end(),
target_path_holder_t(string_view_t original_path)
Initializing constructor.
std::size_t m_size
The length of target_path.
RESTINIO_NODISCARD data_t giveout_data() noexcept
Give out the value from holder.
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, optional_t< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in optional_t<Value_Type> if parameter exists ...