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

Method async_write_some

test/write.cpp:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114 template <typename Const_Buffers, typename Handler>
115 void async_write_some(const Const_Buffers& buffers,
116 Handler&& handler)
117 {
118 size_t bytes_transferred = write_some(buffers);
119 boost::asio::post(get_executor(),
120 boost::asio::detail::bind_handler(
121 static_cast<Handler&&>(handler),
122 boost::system::error_code(), bytes_transferred));
123 }
124
125private:
126 boost::asio::io_context& io_context_;

Callers 15

async_write_messageFunction · 0.45
mainFunction · 0.45
async_write_messageFunction · 0.45
mainFunction · 0.45
operator()Method · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
test_compileFunction · 0.45
test_async_operationsFunction · 0.45
test_compileFunction · 0.45
test_async_operationsFunction · 0.45

Calls 4

bind_handlerFunction · 0.85
write_someFunction · 0.50
postFunction · 0.50
get_executorFunction · 0.50

Tested by 6

test_compileFunction · 0.36
test_async_operationsFunction · 0.36
test_compileFunction · 0.36
test_async_operationsFunction · 0.36
test_compileFunction · 0.36
test_async_operationsFunction · 0.36