KestrelServerLimits.KeepAliveTimeout 属性

定义

获取或设置保持活动状态超时。

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

属性值

注解

默认值为 2 分钟。

适用于