Module client

Module client 

Source
Expand description

§The Asynchronous MQTT Client

This module contains the primary MqttClient struct, which manages the state, connection, and communication with an MQTT broker.

Structs§

MqttClient
The asynchronous MQTT client.
MqttOptions
Configuration options for the MqttClient.

Enums§

MqttEvent
Represents an event received from the MQTT broker. The lifetime 'p indicates that the event borrows data from the client’s buffer and is only valid for the duration of the poll call.
MqttVersion
Represents the MQTT protocol version used by the client.