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

A Body using std::string

Synopsis

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

using string_body = basic_string_body< char >;
Types

Name

Description

reader

The algorithm for parsing the body.

value_type

The type of container used for the body.

writer

The algorithm for serializing the body.

Static Member Functions

Name

Description

size

Returns the payload size of the body.

This body uses std::basic_string as a memory-based container for holding message payloads. Messages using this body type may be serialized and parsed.


PrevUpHomeNext