Optional
connectAll configurable options with respect to the CONNECT packet sent by the client, including the will. These connect properties will be used for every connection attempt made by the client.
Optional
connectOverall time interval to wait to establish an MQTT connection. If a complete MQTT connection (from socket establishment all the way up to CONNACK receipt) has not been established before this timeout expires, the connection attempt will be considered a failure.
Host name of the MQTT server to connect to.
Optional
maxMaximum amount of time to wait to reconnect after a disconnect. Exponential backoff is performed with jitter after each connection failure.
Optional
minAmount of time that must elapse with an established connection before the reconnect delay is reset to the minimum. This helps alleviate bandwidth-waste in fast reconnect cycles due to permission failures on operations.
Optional
minMinimum amount of time to wait to reconnect after a disconnect. Exponential backoff is performed with jitter after each connection failure.
Network port of the MQTT server to connect to.
Optional
retryControls how the reconnect delay is modified in order to smooth out the distribution of reconnection attempt timepoints for a large set of reconnecting clients.
Optional
sessionControls how the MQTT5 client should behave with respect to MQTT sessions.
Optional
topicAdditional controls for client behavior with respect to topic alias usage.
If this setting is left undefined, then topic aliasing behavior will be disabled.
Optional
websocketOptions for the underlying websocket connection
Generated using TypeDoc
Configuration options for mqtt5 client creation.