MCPcopy Create free account
hub / github.com/boostorg/asio / async_read_some

Function async_read_some

include/boost/asio/basic_readable_pipe.hpp:562–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560 BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
561 std::size_t)) ReadToken = default_completion_token_t<executor_type>>
562 auto async_read_some(const MutableBufferSequence& buffers,
563 ReadToken&& token = default_completion_token_t<executor_type>())
564 -> decltype(
565 async_initiate<ReadToken,
566 void (boost::system::error_code, std::size_t)>(
567 declval<initiate_async_read_some>(), token, buffers))
568 {
569 return async_initiate<ReadToken,
570 void (boost::system::error_code, std::size_t)>(
571 initiate_async_read_some(this), token, buffers);
572 }
573
574private:
575 // Disallow copying and assignment.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected