boost::corosio::wolfssl_stream::handshake
Perform the TLS handshake asynchronously.
Synopsis
Declared in <boost/corosio/wolfssl_stream.hpp>
virtual
capy::io_task<>
handshake(handshake_type type) override;
Description
Suspends the calling coroutine until the handshake completes, an error occurs, or the operation is cancelled via stop token.
Preconditions
The underlying stream must be connected. No other TLS operation may be in progress on this stream.
Parameters
Name |
Description |
type |
The handshake role (client or server). |
Created with MrDocs