Share via


HubConnection.KeepAliveInterval Property

Definition

Gets or sets the interval at which the client sends ping messages.

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

Remarks

Sending any message resets the timer to the start of the interval.

Applies to