HubOptions.KeepAliveInterval 属性

定义

获取或设置服务器用于向连接的客户端发送保持活动 ping 的间隔。 默认间隔为 15 秒。

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

属性值

适用于