diff --git a/src/Microsoft.AspNetCore.Http.Features/IHttpBodyControlFeature.cs b/src/Microsoft.AspNetCore.Http.Features/IHttpBodyControlFeature.cs new file mode 100644 index 00000000..3f61be97 --- /dev/null +++ b/src/Microsoft.AspNetCore.Http.Features/IHttpBodyControlFeature.cs @@ -0,0 +1,16 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Microsoft.AspNetCore.Http.Features +{ + /// + /// Controls the IO behavior for the and + /// + public interface IHttpBodyControlFeature + { + /// + /// Gets or sets a value that controls whether synchronous IO is allowed for the and + /// + bool AllowSynchronousIO { get; set; } + } +}