Maps to Clean
Always ask for a clean session when connecting
Always attempt to rejoin an existing session after an initial connection success.
Session rejoin requires an appropriate non-zero session expiry interval in the client's CONNECT options.
Always attempt to rejoin an existing session. Since the client does not yet support durable session persistence, this option is not guaranteed to be spec compliant because any unacknowledged qos1 publishes (which are part of the client session state) will not be present on the initial connection. Until we support durable session resumption, this option is technically spec-breaking, but useful.
Generated using TypeDoc
Controls how the MQTT5 client should behave with respect to MQTT sessions.