Bewerken

Share via


QuicConnectionOptions.KeepAliveInterval Property

Definition

Gets or sets the interval at which keep-alive packets are sent on the connection.

public:
 property TimeSpan KeepAliveInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan KeepAliveInterval { get; set; }
member this.KeepAliveInterval : TimeSpan with get, set
Public Property KeepAliveInterval As TimeSpan

Property Value

The interval at which keep-alive packets are sent on the connection. The default value is InfiniteTimeSpan, which means keep-alive packets are never sent.

Remarks

A value of Zero means use the underlying implementation default timeout.

Applies to