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
2018-12-02 17:51:43 -08:00
parent a5739c3ea0
commit f995fd41a3
185 changed files with 2486 additions and 2392 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ struct BodyWriter
{
public:
/// The type of buffer returned by `get`.
using const_buffers_type = boost::asio::const_buffer;
using const_buffers_type = net::const_buffer;
/** Construct the writer.
@@ -164,7 +164,7 @@ struct BodyReader
// The specification requires this to indicate "no error"
ec = {};
return boost::asio::buffer_size(buffers);
return net::buffer_size(buffers);
}
/** Called when the body is complete.