Add new server option to disable/enable persistent sessions.

This commit is contained in:
Christian
2018-05-15 22:04:05 +02:00
parent 3e6edb92c5
commit 719838de3b
4 changed files with 30 additions and 1 deletions
@@ -5,6 +5,9 @@ namespace MQTTnet.Server
public interface IMqttServerOptions
{
int ConnectionBacklog { get; }
bool EnablePersistentSessions { get; }
int MaxPendingMessagesPerClient { get; }
MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; }