12 references to StreamResponseBodyFeature
Microsoft.AspNetCore.Http (1)
DefaultHttpContext.cs (1)
56Features.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null));
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
751features.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null));
Microsoft.AspNetCore.Http.Connections.Tests (1)
ServerSentEventsTests.cs (1)
138public HttpBufferingFeature(Stream stream) : base(stream) { }
Microsoft.AspNetCore.Http.Tests (3)
DefaultHttpContextTests.cs (2)
155features.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null)); 175newFeatures.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null));
Features\StreamResponseBodyFeatureTests.cs (1)
57: base(stream)
Microsoft.AspNetCore.ResponseCompression.Tests (5)
ResponseCompressionBodyTest.cs (5)
21var stream = new ResponseCompressionBody(httpContext, new MockResponseCompressionProvider(flushable: true), new StreamResponseBodyFeature(new MemoryStream())); 37var stream = new ResponseCompressionBody(new DefaultHttpContext(), new MockResponseCompressionProvider(flushable), new StreamResponseBodyFeature(memoryStream)); 53var stream = new ResponseCompressionBody(new DefaultHttpContext(), new MockResponseCompressionProvider(flushable), new StreamResponseBodyFeature(memoryStream)); 66var stream = new ResponseCompressionBody(new DefaultHttpContext(), new MockResponseCompressionProvider(true), new StreamResponseBodyFeature(memoryStream)); 85var stream = new ResponseCompressionBody(new DefaultHttpContext(), new MockResponseCompressionProvider(flushable), new StreamResponseBodyFeature(memoryStream));
Microsoft.AspNetCore.TestHost (1)
HttpContextBuilder.cs (1)
247newFeatures.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(_responseReaderStream));