Bagikan melalui


ConnectionTimeoutExtensions.UseConnectionTimeout(ListenOptions) Metode

Definisi

Tambahkan middleware batas waktu koneksi.

public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionTimeout (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);
static member UseConnectionTimeout : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionTimeout (listenOptions As ListenOptions) As ListenOptions

Parameter

listenOptions
ListenOptions

Opsi server yang akan digunakan.

Mengembalikan

Nilai dari listenOptions.

Berlaku untuk