mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 12:27:44 +02:00
@ -6,6 +6,7 @@ Version 71:
|
||||
* Call prepare_payload in HTTP example
|
||||
* Check trailers in test
|
||||
* Fix buffer overflow handling for string_body and mutable_body
|
||||
* Concept check in basic_dynamic_body
|
||||
|
||||
WebSockets:
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#include <beast/config.hpp>
|
||||
#include <beast/core/multi_buffer.hpp>
|
||||
#include <beast/core/type_traits.hpp>
|
||||
#include <beast/http/error.hpp>
|
||||
#include <beast/http/message.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
@ -26,6 +27,9 @@ namespace http {
|
||||
template<class DynamicBuffer>
|
||||
struct basic_dynamic_body
|
||||
{
|
||||
static_assert(is_dynamic_buffer<DynamicBuffer>::value,
|
||||
"DynamicBuffer requirements not met");
|
||||
|
||||
/// The type of the body member when used in a message.
|
||||
using value_type = DynamicBuffer;
|
||||
|
||||
|
Reference in New Issue
Block a user