forked from boostorg/beast
Doc tidy
This commit is contained in:
@@ -581,7 +581,7 @@ public:
|
||||
|
||||
// Asynchronously read into a buffer until the buffer is full, or an error occurs
|
||||
template<class AsyncReadStream, class ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler, void (error_code, std::size_t))
|
||||
typename net::async_result<ReadHandler, void(error_code, std::size_t)>::return_type
|
||||
async_read(AsyncReadStream& stream, net::mutable_buffer buffer, ReadHandler&& handler)
|
||||
{
|
||||
using handler_type = BOOST_ASIO_HANDLER_TYPE(ReadHandler, void(error_code, std::size_t));
|
||||
|
||||
@@ -244,8 +244,7 @@ public:
|
||||
|
||||
/// Read some data from the stream asynchronously
|
||||
template <class MutableBufferSequence, class ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
||||
void(error_code, std::size_t))
|
||||
BOOST_BEAST_ASYNC_RESULT2(ReadHandler)
|
||||
async_read_some(
|
||||
MutableBufferSequence const& buffers,
|
||||
ReadHandler&& handler)
|
||||
@@ -261,8 +260,7 @@ public:
|
||||
|
||||
/// Write some data to the stream asynchronously
|
||||
template <class ConstBufferSequence, class WriteHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(WriteHandler,
|
||||
void(error_code, std::size_t))
|
||||
BOOST_BEAST_ASYNC_RESULT2(WriteHandler)
|
||||
async_write_some(
|
||||
ConstBufferSequence const& buffers,
|
||||
WriteHandler&& handler)
|
||||
|
||||
Reference in New Issue
Block a user