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

Method async_send

include/boost/asio/basic_stream_socket.hpp:497–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495 BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
496 std::size_t)) WriteToken = default_completion_token_t<executor_type>>
497 auto async_send(const ConstBufferSequence& buffers,
498 WriteToken&& token = default_completion_token_t<executor_type>())
499 -> decltype(
500 async_initiate<WriteToken,
501 void (boost::system::error_code, std::size_t)>(
502 declval<initiate_async_send>(), token,
503 buffers, socket_base::message_flags(0)))
504 {
505 return async_initiate<WriteToken,
506 void (boost::system::error_code, std::size_t)>(
507 initiate_async_send(this), token,
508 buffers, socket_base::message_flags(0));
509 }
510
511 /// Start an asynchronous send.
512 /**

Callers 1

operator()Method · 0.45

Calls 1

initiate_async_sendClass · 0.70

Tested by

no test coverage detected