共用方式為


KestrelServerLimits.KeepAliveTimeout 屬性

定義

取得或設定 Keep-alive 逾時 \(英文\)。

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 分鐘。

適用於