92 fmt::format(
"unable to make a chunk (started_at:{}, size: {}) "
93 "from a body with length:{}",
230 std::unique_ptr< chunked_input_info_t >;
Information about one chunk in an incoming request with chunked encoding.
RESTINIO_NODISCARD string_view_t make_string_view(string_view_t full_body) const
Extract the chunk value from the whole body.
chunk_info_t(std::size_t started_at, std::size_t size)
Initializing constructor.
RESTINIO_NODISCARD std::size_t started_at() const noexcept
Get the starting offset of chunk.
RESTINIO_NODISCARD std::size_t size() const noexcept
Get the size of chunk.
RESTINIO_NODISCARD string_view_t make_string_view_nonchecked(string_view_t full_body) const noexcept
Extract the chunk value from the whole body.
Exception class for all exceptions thrown by RESTinio.
#define RESTINIO_NODISCARD
A special wrapper around fmtlib include files.
std::unique_ptr< chunked_input_info_t > chunked_input_info_unique_ptr_t
Alias of unique_ptr for chunked_input_info.
nonstd::string_view string_view_t