ゴミ箱
Public Member Functions | List of all members
boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer Class Reference

#include <string_body.hpp>

Public Member Functions

template<bool isRequest, class Fields >
 writer (message< isRequest, basic_string_body, Fields > &m)
 
void init (boost::optional< std::uint64_t > const &length, error_code &ec)
 
template<class ConstBufferSequence >
std::size_t put (ConstBufferSequence const &buffers, error_code &ec)
 
void finish (error_code &ec)
 

Detailed Description

template<class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>>
class boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer

The algorithm for parsing the body

Meets the requirements of BodyReader.

Constructor & Destructor Documentation

template<class CharT , class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>>
template<bool isRequest, class Fields >
boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer::writer ( message< isRequest, basic_string_body, Fields > &  m)
inlineexplicit

Member Function Documentation

template<class CharT , class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>>
void boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer::finish ( error_code ec)
inline
template<class CharT , class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>>
void boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer::init ( boost::optional< std::uint64_t > const &  length,
error_code ec 
)
inline
template<class CharT , class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>>
template<class ConstBufferSequence >
std::size_t boost::beast::http::basic_string_body< CharT, Traits, Allocator >::writer::put ( ConstBufferSequence const &  buffers,
error_code ec 
)
inline

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