mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 05:44:38 +02:00
@@ -9,6 +9,7 @@ Version 44
|
|||||||
* Fix README websocket example
|
* Fix README websocket example
|
||||||
* Add buffers_adapter regression test
|
* Add buffers_adapter regression test
|
||||||
* Tidy up is_dynamic_buffer traits test
|
* Tidy up is_dynamic_buffer traits test
|
||||||
|
* Make buffers_adapter meet requirements
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -113,6 +113,13 @@ public:
|
|||||||
return in_size_;
|
return in_size_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Returns the maximum sum of the sizes of the input sequence and output sequence the buffer can hold without requiring reallocation.
|
||||||
|
std::size_t
|
||||||
|
capacity() const
|
||||||
|
{
|
||||||
|
return max_size_;
|
||||||
|
}
|
||||||
|
|
||||||
/** Get a list of buffers that represents the output sequence, with the given size.
|
/** Get a list of buffers that represents the output sequence, with the given size.
|
||||||
|
|
||||||
@throws std::length_error if the size would exceed the limit
|
@throws std::length_error if the size would exceed the limit
|
||||||
|
Reference in New Issue
Block a user