mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +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
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -112,6 +112,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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user