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

Method async_read_some

test/read_until.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80 template <typename Mutable_Buffers, typename Handler>
81 void async_read_some(const Mutable_Buffers& buffers, Handler handler)
82 {
83 size_t bytes_transferred = read_some(buffers);
84 boost::asio::post(get_executor(),
85 boost::asio::detail::bind_handler(
86 static_cast<Handler&&>(handler),
87 boost::system::error_code(), bytes_transferred));
88 }
89
90private:
91 boost::asio::io_context& io_context_;

Callers

nothing calls this directly

Calls 4

bind_handlerFunction · 0.85
read_someFunction · 0.50
postFunction · 0.50
get_executorFunction · 0.50

Tested by

no test coverage detected