3 types derived from StreamResponseBodyFeature
Microsoft.AspNetCore.Http.Connections.Tests (1)
ServerSentEventsTests.cs (1)
134private class HttpBufferingFeature : StreamResponseBodyFeature
Microsoft.AspNetCore.Http.Tests (2)
Features\StreamResponseBodyFeatureTests.cs (2)
54public class TestStreamResponseBodyFeature : StreamResponseBodyFeature 71public class InnerDisableBufferingFeature : StreamResponseBodyFeature
12 instantiations of StreamResponseBodyFeature
Microsoft.AspNetCore.Http (2)
DefaultHttpContext.cs (1)
56Features.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null));
Internal\DefaultHttpResponse.cs (1)
83_features.Collection.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(value, otherFeature));
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
751features.Set<IHttpResponseBodyFeature>(new StreamResponseBodyFeature(Stream.Null));
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)
44var streamResponseBodyFeature = new StreamResponseBodyFeature(stream, innerFeature);
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));
2 references to StreamResponseBodyFeature
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpResponse.cs (1)
74if (otherFeature is StreamResponseBodyFeature streamFeature
Microsoft.AspNetCore.Http.Tests (1)
Features\StreamResponseBodyFeatureTests.cs (1)
44var streamResponseBodyFeature = new StreamResponseBodyFeature(stream, innerFeature);