Method SessionExpiryInterval(int)
MQTT 5 Session Expiry Interval in seconds: how long the broker keeps the session after the connection closes.
With CleanSession(false) and a value above 0 a failed message is sent again after a reconnect.
public MqttBuilder SessionExpiryInterval(int seconds)