QuicConnectionOptions.KeepAliveInterval 属性

定义

获取或设置连接上发送保持活动数据包的间隔。

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

属性值

在连接上发送保持活动数据包的时间间隔。 默认值为 InfiniteTimeSpan,这意味着永远不会发送保持活动数据包。

注解

Zero 值表示使用基础实现默认超时。

适用于