connect

open fun connect(cleanSession: Boolean)

Connects to an Mqtt client

Parameters

cleanSession

Is the session a cleanSession

Throws

org.eclipse.paho.client.mqttv3.MqttException