feat: implement mqtt session and qos ack runtime semantics

This commit is contained in:
Joseph Doherty
2026-02-23 14:43:08 -05:00
parent 7faf42c588
commit 7dcf5776b3
6 changed files with 219 additions and 2 deletions

View File

@@ -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;
}