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