ConnectionTimeoutExtensions.UseConnectionTimeout(ListenOptions) Metodo

Definizione

Aggiungere il middleware del timeout della connessione.

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

Parametri

listenOptions
ListenOptions

Opzioni del server da usare.

Restituisce

Valore di listenOptions.

Si applica a