boost::corosio::tls_stream::read_some

Initiate an asynchronous read operation.

Synopsis

template<capy::MutableBufferSequence Buffers>
auto
read_some(Buffers const& buffers);

Description

Reads decrypted data into the provided buffer sequence. The operation completes when at least one byte has been read, or an error occurs.

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

Return Value

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

Parameters

Name Description

buffers

The buffer sequence to read data into.

Created with MrDocs