PrevUpHomeNext
mqtt_client::mqtt_client

Constructs a Client with given parameters.

explicit mqtt_client(
    const executor_type & ex,
    tls_context_type tls_context = {},
    logger_type logger = {}
);
  » more...

template <
    typename ExecutionContext,
    std::enable_if_t< std::is_convertible_v< ExecutionContext &, asio::execution_context & >, bool > = true
>
explicit mqtt_client(
    ExecutionContext & context,
    tls_context_type tls_context = {},
    logger_type logger = {}
);
  » more...

Move-construct an mqtt_client from another.

mqtt_client(
    mqtt_client &&
) = default;
  » more...

PrevUpHomeNext