...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A Body using std::basic_string
Defined in header <boost/beast/http/string_body.hpp>
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT>> struct basic_string_body
Name |
Description |
---|---|
The algorithm for parsing the body. |
|
The type of container used for the body. |
|
The algorithm for serializing the body. |
Name |
Description |
---|---|
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.