TsgcWSPClient_MQTT › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| Connect | Sends an MQTT CONNECT packet to the broker over the underlying WebSocket transport. |
| Disconnect | Sends an MQTT DISCONNECT packet to end the session cleanly. |
| Ping | Sends a PINGREQ control packet so the broker knows the session is still alive. |
| Name | Description |
|---|---|
| Publish | Publishes a message to a topic using the requested QoS and retain flags. |
| PublishAndWait | Publishes a message and blocks until the broker acknowledges it or the timeout elapses. |
| Subscribe | Subscribes the client to one or more topic filters at the requested QoS. |
| UnSubscribe | Removes one or more active topic subscriptions from the current MQTT session. |
| Auth | Sends an MQTT 5.0 AUTH packet to perform or continue enhanced authentication with the broker. |
| Name | Description |
|---|---|
| WriteData | Writes a pre-built MQTT control packet directly over the WebSocket transport. |
| Name | Description |
|---|---|
| Auth | Sends an MQTT 5.0 AUTH packet to perform or continue enhanced authentication with the broker. |
| Connect | Sends an MQTT CONNECT packet to the broker over the underlying WebSocket transport. |
| Disconnect | Sends an MQTT DISCONNECT packet to end the session cleanly. |
| Ping | Sends a PINGREQ control packet so the broker knows the session is still alive. |
| Publish | Publishes a message to a topic using the requested QoS and retain flags. |
| PublishAndWait | Publishes a message and blocks until the broker acknowledges it or the timeout elapses. |
| Subscribe | Subscribes the client to one or more topic filters at the requested QoS. |
| UnSubscribe | Removes one or more active topic subscriptions from the current MQTT session. |
| WriteData | Writes a pre-built MQTT control packet directly over the WebSocket transport. |