Share via


MqttTransportSettings.KeepAliveInSeconds Property

Definition

The interval, in seconds, that the client establishes with the service, for sending keep alive pings. The default is 300 seconds.

public int KeepAliveInSeconds { get; set; }
member this.KeepAliveInSeconds : int with get, set
Public Property KeepAliveInSeconds As Integer

Property Value

System.Int32

Remarks

The client will send a ping request 4 times per keep-alive duration set. It will wait for 30 seconds for the ping response, else mark the connection as disconnected.

Applies to