1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00

Mention in websockets subscription example that websockets are builtin

Added a \note, but keeping the example to show how to create custom
transports.

Change-Id: Idf3b22532f6e0b94a0113cea6152a36e81398ea9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 6eb01cac46)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Even Oscar Andersen 2025-06-05 09:38:56 +02:00 committed by Qt Cherry-pick Bot
parent c6cd7aae77
commit 337d171910

View File

@ -12,6 +12,9 @@
QIODevice to combine a \l {Qt WebSockets}{web socket} connection with
QMqttClient.
\note Since Qt 6.10, WebSockets are supported natively by Qt MQTT.
This example is retained to demonstrate how to implement a custom transport.
\section1 Creating a Custom QIODevice
The new custom device, \c WebSocketIODevice, has to be a subclass of