diff options
Diffstat (limited to 'src/mqtt/qmqttclient.cpp')
-rw-r--r-- | src/mqtt/qmqttclient.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mqtt/qmqttclient.cpp b/src/mqtt/qmqttclient.cpp index d4ea1ea..31a75fd 100644 --- a/src/mqtt/qmqttclient.cpp +++ b/src/mqtt/qmqttclient.cpp @@ -319,6 +319,10 @@ QMqttClient::QMqttClient(QObject *parent) : QObject(*(new QMqttClientPrivate(thi \note The transport can only be exchanged if the MQTT client is in the \l Disconnected state. + + \note Setting a custom transport for a client does not pass over responsibility + on connection management. The transport has to be opened for QIODevice based + transports or connected for socket type transports before calling QMqttClient::connectToHost(). */ void QMqttClient::setTransport(QIODevice *device, QMqttClient::TransportType transport) { |