Blame
|
1 | ## MQTT |
||||||
|
2 | |||||||
|
3 | #### Supported Network Protocols |
||||||
| 4 | The network protocol used by the MQTT publisher is selected through Broker URI's prefix. |
|||||||
| 5 | The following network protocols can be selected (assuming they are supported by the broker): |
|||||||
| 6 | - `mqtt://<host>:<port>` |
|||||||
| 7 | - TCP, insecure, fine for must use cases |
|||||||
| 8 | - `tcp://<host>:<port>` |
|||||||
| 9 | - same as above, alias for `mqtt://` |
|||||||
| 10 | - `mqtts://<host>:<port>` |
|||||||
| 11 | - TCP using SSL/TLS |
|||||||
| 12 | - `ssl://<host>:<port>` |
|||||||
| 13 | - same as above, alias for `mqtts://` |
|||||||
| 14 | - `ws://<host>:<port>` |
|||||||
| 15 | - Insecure websockets |
|||||||
| 16 | - `wss://<host>:<port>` |
|||||||
| 17 | - Secure websockets |
|||||||
| 18 | - `unix://<path>` |
|||||||
| 19 | - A UNIX-domain socket |
|||||||
| 20 | - *nix only |
|||||||
| 21 | - Broker must be located on the same physical hardware |
|||||||
| 22 | ||||||||
|
23 | --- |
||||||
| 24 | ||||||||
|
25 | ::: buttonlink |
||||||
|
26 | [View publisher source](https://github.com/matth-av/pointcaster/blob/qt/src/publishers/mqtt/mqtt_client.cc) |
||||||
|
27 | ::: |
||||||
