MCPcopy Create free account
hub / github.com/alibaba/async_simple / async_write

Function async_write

demo_example/asio/asio/impl/write.hpp:532–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530inline ASIO_INITFN_AUTO_RESULT_TYPE(WriteHandler,
531 void (asio::error_code, std::size_t))
532async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
533 CompletionCondition completion_condition,
534 ASIO_MOVE_ARG(WriteHandler) handler,
535 typename constraint<
536 is_const_buffer_sequence<ConstBufferSequence>::value
537 >::type)
538{
539 return async_initiate<WriteHandler,
540 void (asio::error_code, std::size_t)>(
541 detail::initiate_async_write_buffer_sequence<AsyncWriteStream>(s),
542 handler, buffers,
543 ASIO_MOVE_CAST(CompletionCondition)(completion_condition));
544}
545
546template <typename AsyncWriteStream, typename ConstBufferSequence,
547 ASIO_COMPLETION_TOKEN_FOR(void (asio::error_code,

Callers 7

operator()Method · 0.70
operator()Method · 0.70
operator()Method · 0.70
startFunction · 0.50
startMethod · 0.50
operator()Method · 0.50
send_emailMethod · 0.50

Calls 1

transfer_allFunction · 0.85

Tested by

no test coverage detected