net is a namespace alias for boost::asio:

The namespace alias beast::net replaces boost::asio in all code
and documentation.
This commit is contained in:
Vinnie Falco committed 2018-12-02 17:51:43 -08:00
1 parent a5739c3ea0
commit f995fd41a3
185 files changed
+2486 -2392

No files matched your search

+2 -2
View File
@@ -414,7 +414,7 @@ private:
string_view body,
error_code& ec)
{
return rd_.put(boost::asio::buffer(
return rd_.put(net::buffer(
body.data(), body.size()), ec);
}
@@ -437,7 +437,7 @@ private:
{
if(cb_b_)
return cb_b_(remain, body, ec);
return rd_.put(boost::asio::buffer(
return rd_.put(net::buffer(
body.data(), body.size()), ec);
}