![]() |
Home | Libraries | People | FAQ | More |
Perform SSL handshaking.
template< class ConstBufferSequence> void handshake( handshake_type type, ConstBufferSequence const& buffers);
This function is used to perform SSL handshaking on the stream. The function call will block until handshaking is complete or an error occurs.
|
Name |
Description |
|---|---|
|
|
The type of handshaking to be performed, i.e. as a client or as a server. |
|
|
The buffered data to be reused for the handshake. |
|
Type |
Thrown On |
|---|---|
|
|
Thrown on failure. |