Add serializer::get

This commit is contained in:
Vinnie Falco
2017-07-07 09:16:51 -07:00
parent db59a92011
commit c52ddea11d
2 changed files with 8 additions and 0 deletions

View File

@ -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
--------------------------------------------------------------------------------

View File

@ -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