Share via


ConnectionTimeoutExtensions.UseConnectionTimeout(ListenOptions) Method

Definition

Add the connection timeout middleware.

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

Parameters

listenOptions
ListenOptions

The server options to use.

Returns

The value of listenOptions.

Applies to