| Home | Libraries | People | FAQ | More

##### boost::mqtt5::mqtt_client::mqtt_client

Constructs a Client with given parameters.

    explicit
    mqtt_client(
        const boost::mqtt5::mqtt_client::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(
        boost::mqtt5::mqtt_client&&) noexcept;
      » more...