ゴミ箱
Public Types | Public Member Functions | List of all members
boost::beast::http::chunk_crlf Struct Reference

#include <chunk_encode.hpp>

Public Types

using value_type = detail::chunk_crlf_iter::value_type
 Required for ConstBufferSequence. More...
 
using const_iterator = value_type const *
 Required for ConstBufferSequence. More...
 

Public Member Functions

 chunk_crlf ()=default
 Constructor. More...
 
 chunk_crlf (chunk_crlf const &)=default
 Required for ConstBufferSequence. More...
 
const_iterator begin () const
 Required for ConstBufferSequence. More...
 
const_iterator end () const
 Required for ConstBufferSequence. More...
 

Detailed Description

A chunked encoding crlf

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

Member Typedef Documentation

Required for ConstBufferSequence.

Required for ConstBufferSequence.

Constructor & Destructor Documentation

boost::beast::http::chunk_crlf::chunk_crlf ( )
default

Constructor.

boost::beast::http::chunk_crlf::chunk_crlf ( chunk_crlf const &  )
default

Required for ConstBufferSequence.

Member Function Documentation

const_iterator boost::beast::http::chunk_crlf::begin ( ) const
inline

Required for ConstBufferSequence.

const_iterator boost::beast::http::chunk_crlf::end ( ) const
inline

Required for ConstBufferSequence.


The documentation for this struct was generated from the following file: