Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
boost::mqtt5::mqtt_client::mqtt_client (1 of 3 overloads)

Constructs a Client with given parameters.

Synopsis
explicit
mqtt_client(
    const boost::mqtt5::mqtt_client::executor_type& ex,
    tls_context_type tls_context = {},
    logger_type logger = {});
Parameters

Name

Description

ex

An executor that will be associated with the Client.

tls_context

A context object used in TLS/SSL connection.

logger

An object satisfying the LoggerType concept used to log events within the Client.


PrevUpHomeNext