Module options
Expand description
Client options with MQTT v5 connect properties and reconnect configuration.
Structs§
- Backoff
Multiplier - Exponential backoff multiplier, constrained to be finite and
>= 1.0. - Client
Options - Options for the MQTT v5 client.
- Jitter
- Backoff jitter as a fraction of the delay, constrained to
0.0..=1.0. - Reconnect
Options - Configuration for automatic reconnection with exponential backoff.
- Will
Options - Configuration for the MQTT will message (Last Will and Testament).
Enums§
- Clean
Start - Whether to request a clean start on the initial connect (§3.1.2.4).
Constants§
- DEFAULT_
CONNECT_ TIMEOUT - Default
connect_timeout: 30 seconds. - DEFAULT_
MAX_ PACKET_ SIZE - Default
maximum_packet_size: 16 MiB.