Module client

Module client 

Expand description

Session-oriented MQTT v5 client.

MqttClient is the primary public interface. It manages a persistent MQTT session that survives connection drops: operations can be issued at any time and will be queued until the connection is (re-)established.

§Message delivery

All incoming PUBLISH messages are delivered through a single MessageStream returned by MqttClient::new. Subscribe and unsubscribe are pure protocol operations — routing messages to application-level handlers is the caller’s responsibility.

Structs§

MqttClient
A session-oriented MQTT v5 client.