boost::corosio::tls_stream::write_some

Initiate an asynchronous write operation.

Synopsis

template<capy::ConstBufferSequence Buffers>
auto
write_some(Buffers const& buffers);

Description

Encrypts and writes data from the provided buffer sequence. The operation completes when at least one byte has been written, or an error occurs.

This non‐virtual template wrapper satisfies the capy::Stream concept by delegating to the virtual do_write_some.

Return Value

An awaitable yielding (error_code,std::size_t).

Parameters

Name Description

buffers

The buffer sequence containing data to write.

Created with MrDocs