Skip to main content

Module connection

Module connection 

Available on crate feature tokio only.
Expand description

Low-level single-connection driver.

This module manages one MQTT connection. It covers transport setup, the CONNECT / CONNACK handshake, the packet read/write loop, keep-alive and pending-ack tracking. It is an internal implementation detail of the crate. MqttClient provides the public API.

Modulesยง

commands ๐Ÿ”’
Commands sent from the client handle to the event loop.
event_loop ๐Ÿ”’
Single-connection driver.
io ๐Ÿ”’
Low-level I/O helpers for the connection handshake.