122 "unable to make a chunk (started_at:{}, size: {}) "
123 "from a body with length:{}" ),
308 std::unique_ptr< chunked_input_info_t >;
Information about one chunk in an incoming request with chunked encoding.
chunk_info_t(std::size_t started_at, std::size_t size, chunk_ext_params_unique_ptr_t ext_params)
Initializing constructor.
nullable_pointer_t< const chunk_ext_params_t > ext_params() const noexcept
Get a list of chunk extension's params.
std::size_t started_at() const noexcept
Get the starting offset of chunk.
std::size_t size() const noexcept
Get the size of chunk.
string_view_t make_string_view_nonchecked(string_view_t full_body) const noexcept
Extract the chunk value from the whole body.
chunk_ext_params_unique_ptr_t m_ext_params
Storage of chunk extension parameters.
string_view_t make_string_view(string_view_t full_body) const
Extract the chunk value from the whole body.
Exception class for all exceptions thrown by RESTinio.
A special wrapper around fmtlib include files.
#define RESTINIO_FMT_FORMAT_STRING(s)
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.
std::string_view string_view_t
std::unique_ptr< chunk_ext_params_t > chunk_ext_params_unique_ptr_t
T * nullable_pointer_t
Type for pointer that can be nullptr.
std::unique_ptr< chunked_input_info_t > chunked_input_info_unique_ptr_t
Alias of unique_ptr for chunked_input_info.
std::vector< chunk_ext_param_t > chunk_ext_params_t
Chunk extension parameter.