boost::corosio::tls_stream::handshake
Perform the TLS handshake asynchronously.
Synopsis
Declared in <boost/corosio/tls_stream.hpp>
virtual
capy::io_task
handshake(handshake_type type) = 0;
Description
Initiates the TLS handshake process. For client connections, this sends the ClientHello and processes the server's response. For server connections, this waits for the ClientHello and sends the server's response.
Parameters
| Name | Description |
|---|---|
type |
The type of handshaking to perform (client or server). |
Created with MrDocs