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
+3 -3
View File
@@ -27,7 +27,7 @@ public:
struct writer
{
using const_buffers_type =
boost::asio::const_buffer;
net::const_buffer;
template<bool isRequest, class Fields>
writer(header<isRequest, Fields> const&, value_type const&);
@@ -47,7 +47,7 @@ public:
struct writer
{
using const_buffers_type =
boost::asio::const_buffer;
net::const_buffer;
template<bool isRequest, class Fields>
writer(header<isRequest, Fields>&, value_type&);
@@ -91,7 +91,7 @@ public:
operator()(error_code&,
ConstBufferSequence const& buffers)
{
size = boost::asio::buffer_size(buffers);
size = net::buffer_size(buffers);
}
};