ゴミ箱
|
#include <string_body.hpp>
Classes | |
class | reader |
class | writer |
Public Types | |
using | value_type = std::basic_string< CharT, Traits, Allocator > |
Static Public Member Functions | |
static std::uint64_t | size (value_type const &body) |
A Body using std::basic_string
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.
using boost::beast::http::basic_string_body< CharT, Traits, Allocator >::value_type = std::basic_string<CharT, Traits, Allocator> |
The type of container used for the body
This determines the type of message::body when this body type is used with a message container.
|
inlinestatic |
Returns the payload size of the body
When this body is used with message::prepare_payload, the Content-Length will be set to the payload size, and any chunked Transfer-Encoding will be removed.