feat: implement mqtt session and qos ack runtime semantics
This commit is contained in:
@@ -38,6 +38,9 @@ public sealed class MqttOptions
|
||||
public TimeSpan AckWait { get; set; } = TimeSpan.FromSeconds(30);
|
||||
public ushort MaxAckPending { get; set; }
|
||||
public TimeSpan JsApiTimeout { get; set; } = TimeSpan.FromSeconds(5);
|
||||
public bool SessionPersistence { get; set; } = true;
|
||||
public TimeSpan SessionTtl { get; set; } = TimeSpan.FromHours(1);
|
||||
public bool Qos1PubAck { get; set; } = true;
|
||||
|
||||
public bool HasTls => TlsCert != null && TlsKey != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user