ゴミ箱
|
#include <vector_body.hpp>
Classes | |
class | reader |
class | writer |
Public Types | |
using | value_type = std::vector< T, Allocator > |
Static Public Member Functions | |
static std::uint64_t | size (value_type const &body) |
A Body using std::vector
This body uses std::vector
as a memory-based container for holding message payloads. Messages using this body type may be serialized and parsed.
using boost::beast::http::vector_body< T, Allocator >::value_type = std::vector<T, 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.