Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
An external SSL context containing options to configure TLS.
asio::ssl::context* ssl_context {};
Relevant only for SSL connections (those that result on any_connection::uses_ssl returning true).
If the connection is configured to use TLS, an internal asio::ssl::stream
object will be created. If this member is set to a non-null value, this
internal object will be initialized using the passed context. This is the
only way to configure TLS options in any_connection.
If the connection is configured to use TLS and this member is nullptr, an internal asio::ssl::context
object with suitable default options will be created.
If set to non-null, the pointee object must be kept alive until all any_connection
objects constructed from *this are destroyed.