6 implementations of Body
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1382public Stream Body { get; set; }
Microsoft.AspNetCore.Http (1)
Features\HttpRequestFeature.cs (1)
52public Stream Body { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
129Stream IHttpRequestFeature.Body
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
156Stream IHttpRequestFeature.Body
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
155Stream IHttpRequestFeature.Body
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
82Stream IHttpRequestFeature.Body
4 writes to Body
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
94set { HttpRequestFeature.Body = value; }
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
60{ OwinConstants.RequestBody, new FeatureMap<IHttpRequestFeature>(feature => feature.Body, () => Stream.Null, (feature, value) => feature.Body = (Stream)value) },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestTests.cs (2)
82requestInfo.Body = new MemoryStream(); 146requestInfo.Body = null;
9 references to Body
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
93get { return HttpRequestFeature.Body; }
Microsoft.AspNetCore.Http.Features (2)
IHttpBodyControlFeature.cs (2)
7/// Controls the IO behavior for the <see cref="IHttpRequestFeature.Body"/> and <see cref="IHttpResponseFeature.Body"/> 12/// Gets or sets a value that controls whether synchronous IO is allowed for the <see cref="IHttpRequestFeature.Body"/> and <see cref="IHttpResponseFeature.Body"/>
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
60{ OwinConstants.RequestBody, new FeatureMap<IHttpRequestFeature>(feature => feature.Body, () => Stream.Null, (feature, value) => feature.Body = (Stream)value) },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
RequestTests.cs (3)
32Assert.Equal(Stream.Null, requestInfo.Body); 83Assert.IsType<MemoryStream>(requestInfo.Body); 147Assert.Null(requestInfo.Body);
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
31Assert.NotNull(features.Get<IHttpRequestFeature>().Body); 82Assert.NotNull(features.Get<IHttpRequestFeature>().Body);