forked from boostorg/beast
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user