4 implementations of IHttpBodyControlFeature
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
35IHttpBodyControlFeature,
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
36IHttpBodyControlFeature,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
34IHttpBodyControlFeature,
Microsoft.AspNetCore.TestHost (1)
HttpContextBuilder.cs (1)
10internal sealed class HttpContextBuilder : IHttpBodyControlFeature, IHttpResetFeature
28 references to IHttpBodyControlFeature
Microsoft.AspNetCore.Rewrite (1)
UrlActions\CustomResponseAction.cs (1)
34context.HttpContext.Features.Get<IHttpBodyControlFeature>()?.AllowSynchronousIO = true;
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
583bool IHttpBodyControlFeature.AllowSynchronousIO
StandardFeatureCollection.cs (1)
27{ typeof(IHttpBodyControlFeature), _identityFunc },
Microsoft.AspNetCore.Server.IIS (9)
Core\EmptyStream.cs (2)
11private readonly IHttpBodyControlFeature _bodyControl; 15public EmptyStream(IHttpBodyControlFeature bodyControl)
Core\HttpRequestStream.cs (2)
13private readonly IHttpBodyControlFeature _bodyControl; 18public HttpRequestStream(IHttpBodyControlFeature bodyControl)
Core\HttpResponseStream.cs (2)
10private readonly IHttpBodyControlFeature _bodyControl; 14public HttpResponseStream(IHttpBodyControlFeature bodyControl, IISHttpContext context)
Core\IISHttpContext.cs (1)
93((IHttpBodyControlFeature)this).AllowSynchronousIO = _options.AllowSynchronousIO;
Core\IISHttpContext.FeatureCollection.cs (1)
437bool IHttpBodyControlFeature.AllowSynchronousIO { get; set; }
Core\IISHttpContext.Features.cs (1)
26private static readonly Type IHttpBodyControlFeatureType = typeof(global::Microsoft.AspNetCore.Http.Features.IHttpBodyControlFeature);
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
192bool IHttpBodyControlFeature.AllowSynchronousIO
Internal\Http\HttpProtocol.Generated.cs (9)
53internal protected IHttpBodyControlFeature? _currentIHttpBodyControlFeature; 316else if (key == typeof(IHttpBodyControlFeature)) 468else if (key == typeof(IHttpBodyControlFeature)) 470_currentIHttpBodyControlFeature = (IHttpBodyControlFeature?)value; 622else if (typeof(TFeature) == typeof(IHttpBodyControlFeature)) 624feature = Unsafe.As<IHttpBodyControlFeature?, TFeature?>(ref _currentIHttpBodyControlFeature); 782else if (typeof(TFeature) == typeof(IHttpBodyControlFeature)) 784_currentIHttpBodyControlFeature = Unsafe.As<TFeature?, IHttpBodyControlFeature?>(ref feature); 932yield return new KeyValuePair<Type, object>(typeof(IHttpBodyControlFeature), _currentIHttpBodyControlFeature);
Internal\Http\HttpRequestStream.cs (2)
14private readonly IHttpBodyControlFeature _bodyControl; 16public HttpRequestStream(IHttpBodyControlFeature bodyControl, HttpRequestPipeReader pipeReader)
Internal\Http\HttpResponseStream.cs (2)
12private readonly IHttpBodyControlFeature _bodyControl; 14public HttpResponseStream(IHttpBodyControlFeature bodyControl, HttpResponsePipeWriter pipeWriter)
Internal\Infrastructure\BodyControl.cs (1)
26public BodyControl(IHttpBodyControlFeature bodyControl, IHttpResponseControl responseControl)
Microsoft.AspNetCore.TestHost (1)
HttpContextBuilder.cs (1)
51_httpContext.Features.Set<IHttpBodyControlFeature>(this);