Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

http::chunk_crlf

A chunked encoding crlf.

Synopsis

Defined in header <boost/beast/http/chunk_encode.hpp>

struct chunk_crlf
Types

Name

Description

const_iterator

Required for ConstBufferSequence.

value_type

Required for ConstBufferSequence.

Member Functions

Name

Description

begin

Required for ConstBufferSequence.

chunk_crlf

Constructor.

Required for ConstBufferSequence.

end

Required for ConstBufferSequence.

Description

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{});
See Also

https://tools.ietf.org/html/rfc7230#section-4.1

Convenience header <boost/beast/http.hpp>


PrevUpHomeNext