ゴミ箱
Classes | Public Types | Static Public Member Functions | List of all members
boost::beast::http::basic_dynamic_body< DynamicBuffer > Struct Template Reference

#include <basic_dynamic_body.hpp>

Classes

class  reader
 
class  writer
 

Public Types

using value_type = DynamicBuffer
 

Static Public Member Functions

static std::uint64_t size (value_type const &v)
 

Detailed Description

template<class DynamicBuffer>
struct boost::beast::http::basic_dynamic_body< DynamicBuffer >

A Body using a DynamicBuffer

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

Member Typedef Documentation

template<class DynamicBuffer >
using boost::beast::http::basic_dynamic_body< DynamicBuffer >::value_type = DynamicBuffer

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.

Member Function Documentation

template<class DynamicBuffer >
static std::uint64_t boost::beast::http::basic_dynamic_body< DynamicBuffer >::size ( value_type const &  v)
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.


The documentation for this struct was generated from the following file: