|
RESTinio
|
An information about chunks and trailing fields in the incoming request. More...
#include <chunked_input_info.hpp>
Public Member Functions | |
| chunked_input_info_t ()=default | |
| Default constructor. Makes empty object. More... | |
| chunked_input_info_t (impl::chunked_input_info_block_t info) | |
| Initializing constructor. More... | |
| std::size_t | chunk_count () const noexcept |
| Get the count of chunks. More... | |
| const chunk_info_t & | chunk_at_nochecked (std::size_t index) const noexcept |
| Get reference to the description of a chunk by index. More... | |
| const chunk_info_t & | chunk_at (std::size_t index) const |
| Get reference to the description of a chunk by index. More... | |
| const auto & | chunks () const noexcept |
| Get access to the container with description of chunks. More... | |
| const http_header_fields_t & | trailing_fields () const noexcept |
| Get access to the container with trailing fields. More... | |
Private Attributes | |
| impl::chunked_input_info_block_t | m_info |
| Actual data. More... | |
An information about chunks and trailing fields in the incoming request.
This information is collected if chunked encoding is used in the incoming request.
Definition at line 220 of file chunked_input_info.hpp.
|
default |
Default constructor. Makes empty object.
|
inline |
Initializing constructor.
Definition at line 234 of file chunked_input_info.hpp.
|
inline |
Get reference to the description of a chunk by index.
| std::exception | if index is invalid. |
Definition at line 266 of file chunked_input_info.hpp.
|
inlinenoexcept |
Get reference to the description of a chunk by index.
Definition at line 255 of file chunked_input_info.hpp.
|
inlinenoexcept |
Get the count of chunks.
| 0 | if there is no chunks in the incoming request. |
Definition at line 245 of file chunked_input_info.hpp.
|
inlinenoexcept |
Get access to the container with description of chunks.
Definition at line 280 of file chunked_input_info.hpp.
|
inlinenoexcept |
Get access to the container with trailing fields.
Definition at line 293 of file chunked_input_info.hpp.
|
private |
Actual data.
Definition at line 223 of file chunked_input_info.hpp.
1.8.14