mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor net buffers classes
This commit is contained in:
@@ -143,12 +143,12 @@ public:
|
||||
std::string content()
|
||||
{
|
||||
std::string s;
|
||||
ContentBodyBuffer const& body (
|
||||
DynamicBuffer const& body (
|
||||
m_parser.request()->body ());
|
||||
s.resize (body.size ());
|
||||
boost::asio::buffer_copy (
|
||||
boost::asio::buffer (&s[0],
|
||||
s.size()), body.data());
|
||||
s.size()), body.data <boost::asio::const_buffer>());
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user