...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A chunked encoding crlf.
Defined in header <boost/beast/http/chunk_encode.hpp>
struct chunk_crlf
Name |
Description |
---|---|
Required for ConstBufferSequence. |
|
Required for ConstBufferSequence. |
Name |
Description |
---|---|
Required for ConstBufferSequence. |
|
Constructor. Required for ConstBufferSequence. |
|
Required for ConstBufferSequence. |
This implements a ConstBufferSequence holding
the CRLF ("\\r\\n"
)
used as a delimiter in a chunk.
To use this class, pass an instance of it to a stream algorithm as the buffer sequence:
// writes "\r\n" boost::asio::write(stream, chunk_crlf{});
https://tools.ietf.org/html/rfc7230#section-4.1
Convenience header <boost/beast/http.hpp>