ConnectionTimeoutExtensions.UseConnectionTimeout(ListenOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.