Module options

Module options 

Expand description

Client options with MQTT v5 connect properties and reconnect configuration.

Structs§

BackoffMultiplier
Exponential backoff multiplier, constrained to be finite and >= 1.0.
ClientOptions
Options for the MQTT v5 client.
Jitter
Backoff jitter as a fraction of the delay, constrained to 0.0..=1.0.
ReconnectOptions
Configuration for automatic reconnection with exponential backoff.
WillOptions
Configuration for the MQTT will message (Last Will and Testament).

Enums§

CleanStart
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.