Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.Utility.AllowSyncIO Method

Used to enable sync I/O for the current request. Only enable sync I/O when there is no way to use async I/O (e.g., when using a 3rd party library).

Class: YetaWF.Core.Support.Utility
Namespace: YetaWF.Core.Support
Assembly: YetaWF.Core

Syntax

public static void AllowSyncIO( HttpContext httpContext );

Parameters

httpContext

The Http context.

Remarks

See https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-3.0#synchronous-io for more info.

See Also YetaWF.Core.Support.Utility ClassYetaWF.Core Overview