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::buffer_body

A Body using a caller provided buffer.

Synopsis

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

struct buffer_body
Types

Name

Description

reader

The algorithm for parsing the body.

value_type

The type of the body member when used in a message.

writer

The algorithm for serializing the body.

Description

Messages using this body type may be serialized and parsed. To use this class, the caller must initialize the members of buffer_body::value_type to appropriate values before each call to read or write during a stream operation.


PrevUpHomeNext