![]() |
Home | Libraries | People | FAQ | More |
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>