to ensure that the requested amount of data is read before the asynchronous
operation completes.
*/
- template<class MutableBufferSequence, class ReadHandler>
+ template<
+ class MutableBufferSequence,
+ BOOST_BEAST_ASYNC_TPARAM2 ReadHandler>
BOOST_BEAST_ASYNC_RESULT2(ReadHandler)
- async_read_some(MutableBufferSequence const& buffers,
+ async_read_some(
+ MutableBufferSequence const& buffers,
ReadHandler&& handler);
/** Write some data to the stream.
the peer. Consider using the function `net::async_write` if you need
to ensure that all data is written before the asynchronous operation completes.
*/
- template<class ConstBufferSequence, class WriteHandler>
+ template<
+ class ConstBufferSequence,
+ BOOST_BEAST_ASYNC_TPARAM2 WriteHandler>
BOOST_BEAST_ASYNC_RESULT2(WriteHandler)
- async_write_some(ConstBufferSequence const& buffers,
+ async_write_some(
+ ConstBufferSequence const& buffers,
WriteHandler&& handler);
#if ! BOOST_BEAST_DOXYGEN