48 using data_t = std::unique_ptr<char[]>;
64 unreserved_chars::estimate_required_capacity(
original_path ) }
Helper class for holding a unique instance of char array with target_path value.
RESTINIO_NODISCARD string_view_t view() const noexcept
Get access to the value of target_path.
data_t m_data
Actual data with target_path.
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::unique_ptr< char[]> data_t
#define RESTINIO_NODISCARD
void normalize_to(string_view_t what, char *dest)
Perform normalization of URI value.
run_on_this_thread_settings_t< Traits > on_this_thread()
A special marker for the case when http_server must be run on the context of the current thread.
nonstd::string_view string_view_t