mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 12:27:44 +02:00
Add serializer::get
This commit is contained in:
@ -3,6 +3,7 @@ Version 76:
|
||||
* Always go through write_some
|
||||
* Use Boost.Config
|
||||
* BodyReader may construct from a non-const message
|
||||
* Add serializer::get
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -309,6 +309,13 @@ public:
|
||||
explicit
|
||||
serializer(value_type& msg, ChunkDecorator const& decorator);
|
||||
|
||||
/// Returns the message being serialized
|
||||
value_type&
|
||||
get()
|
||||
{
|
||||
return m_;
|
||||
}
|
||||
|
||||
/// Returns the serialized buffer size limit
|
||||
std::size_t
|
||||
limit() const
|
||||
|
Reference in New Issue
Block a user