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 master branch. The current version is 1.91.0.
Get the context object used in TLS/SSL connection.
template< typename Ctx = TlsContext, std::enable_if_t<!std::is_same_v< Ctx, std::monostate >, bool > = true> decltype(auto) tls_context();
This function may only be invoked when the template parameter TlsContext
was configured with non-default type during the creation of a mqtt_client.
!std::is_same_v<TlsContext, std::monostate>