Share via


MqttTransportSettings.WebSocketKeepAlive Property

Definition

A keep-alive for the transport layer in sending ping/pong control frames when using web sockets.

public TimeSpan? WebSocketKeepAlive { get; set; }
member this.WebSocketKeepAlive : Nullable<TimeSpan> with get, set
Public Property WebSocketKeepAlive As Nullable(Of TimeSpan)

Property Value

Remarks

This value is different from the protocol-level keep-alive packets that are sent over the overlaying MQTT transport protocol.

Applies to