ゴミ箱
|
#include <chunk_encode.hpp>
Public Types | |
using | value_type = typename view_type::value_type |
Required for ConstBufferSequence. More... | |
using | const_iterator = typename view_type::const_iterator |
Required for ConstBufferSequence. More... | |
Public Member Functions | |
chunk_last () | |
chunk_last (Trailer const &trailer) | |
template<class DeducedTrailer , class Allocator , class = typename std::enable_if< is_fields<DeducedTrailer>::value>::type> | |
chunk_last (DeducedTrailer const &trailer, Allocator const &allocator) | |
chunk_last (chunk_last const &)=default | |
Required for ConstBufferSequence. More... | |
const_iterator | begin () const |
Required for ConstBufferSequence. More... | |
const_iterator | end () const |
Required for ConstBufferSequence. More... | |
template<class Allocator > | |
auto | prepare (Trailer const &trailer, Allocator const &allocator) -> buffers_type |
A chunked-encoding last chunk
using boost::beast::http::chunk_last< Trailer >::const_iterator = typename view_type::const_iterator |
Required for ConstBufferSequence.
using boost::beast::http::chunk_last< Trailer >::value_type = typename view_type::value_type |
Required for ConstBufferSequence.
boost::beast::http::chunk_last< Trailer >::chunk_last | ( | ) |
Constructor
The last chunk will have an empty trailer
|
explicit |
Constructor
trailer | The trailer to use. This may be a type meeting the requirements of either Fields or ConstBufferSequence. If it is a ConstBufferSequence, the trailer must be formatted correctly as per rfc7230 including a CRLF on its own line to denote the end of the trailer. |
boost::beast::http::chunk_last< Trailer >::chunk_last | ( | DeducedTrailer const & | trailer, |
Allocator const & | allocator | ||
) |
Constructor
trailer | The trailer to use. This type must meet the requirements of Fields. |
allocator | The allocator to use for storing temporary data associated with the serialized trailer buffers. |
|
default |
Required for ConstBufferSequence.
|
inline |
Required for ConstBufferSequence.
|
inline |
Required for ConstBufferSequence.
auto boost::beast::http::chunk_last< Trailer >::prepare | ( | Trailer const & | trailer, |
Allocator const & | allocator | ||
) | -> buffers_type |