Obsolete Members for QMqttClient

以下成員源於類 QMqttClient 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) void connectToHostEncrypted (const QString & sslPeerName = QString()) [見下文注意事項]

注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .

成員函數文檔編製

void QMqttClient:: connectToHostEncrypted (const QString & sslPeerName = QString())

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

Initiates an encrypted connection to the MQTT broker.

sslPeerName specifies the peer name to be passed to the socket.

This function has been deprecated. Use QMqttClient::connectToHostEncrypted (const QSslConfiguration &conf) instead.

注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .