Table of Contents

Class MqttServerKeepAliveOptions

Namespace
MQTTnet.Server
Assembly
MQTTnet.dll
public sealed class MqttServerKeepAliveOptions
Inheritance
MqttServerKeepAliveOptions
Inherited Members

Constructors

MqttServerKeepAliveOptions()

public MqttServerKeepAliveOptions()

Properties

DisconnectClientWhenReadingPayload

When this mode is enabled the MQTT server will not close a connection when the client is currently sending a (large) payload. This may lead to "dead" connections When this mode is disabled the MQTT server will disconnect a client when the keep alive timeout is reached even if the client is currently sending a (large) payload.

public bool DisconnectClientWhenReadingPayload { get; set; }

Property Value

bool

MonitorInterval

public TimeSpan MonitorInterval { get; set; }

Property Value

TimeSpan