45 instantiations of HttpRequestStream
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\BodyControl.cs (2)
29_request = new HttpRequestStream(bodyControl, _requestReader); 31_emptyRequest = new HttpRequestStream(bodyControl, _emptyRequestReader);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (43)
HttpRequestStreamTests.cs (21)
21var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 28var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 35var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 42var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 49var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 56var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 63var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 71var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 78var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 85var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 93var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 100var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 115var stream = new HttpRequestStream(mockBodyControl.Object, pipeReader); 135var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 146var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 158var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 170var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 180var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 192var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 203var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 212var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader());
MessageBodyTests.cs (22)
37var stream = new HttpRequestStream(mockBodyControl.Object, reader); 163var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 190var stream = new HttpRequestStream(mockBodyControl.Object, reader); 219var stream = new HttpRequestStream(mockBodyControl.Object, reader); 244var stream = new HttpRequestStream(mockBodyControl.Object, reader); 272var stream = new HttpRequestStream(mockBodyControl.Object, reader); 311var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 338var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 372var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 394var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 423var stream = new HttpRequestStream(mockBodyControl.Object, reader); 450var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 479var stream = new HttpRequestStream(mockBodyControl.Object, reader); 501var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 520var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 598var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 660var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 687var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 709var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 799var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 830var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 867var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader);
46 references to HttpRequestStream
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpRequestPipeReader.cs (1)
130static void ThrowObjectDisposedException() => throw new ObjectDisposedException(nameof(HttpRequestStream));
Internal\Infrastructure\BodyControl.cs (2)
17private readonly HttpRequestStream _request; 23private readonly HttpRequestStream _emptyRequest;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (43)
HttpRequestStreamTests.cs (21)
21var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 28var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 35var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 42var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 49var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 56var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 63var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 71var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 78var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 85var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 93var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 100var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader()); 115var stream = new HttpRequestStream(mockBodyControl.Object, pipeReader); 135var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 146var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 158var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 170var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 180var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 192var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 203var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), pipeReader); 212var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), new HttpRequestPipeReader());
MessageBodyTests.cs (22)
37var stream = new HttpRequestStream(mockBodyControl.Object, reader); 163var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 190var stream = new HttpRequestStream(mockBodyControl.Object, reader); 219var stream = new HttpRequestStream(mockBodyControl.Object, reader); 244var stream = new HttpRequestStream(mockBodyControl.Object, reader); 272var stream = new HttpRequestStream(mockBodyControl.Object, reader); 311var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 338var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 372var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 394var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 423var stream = new HttpRequestStream(mockBodyControl.Object, reader); 450var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 479var stream = new HttpRequestStream(mockBodyControl.Object, reader); 501var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 520var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 598var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 660var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 687var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 709var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 799var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 830var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader); 867var stream = new HttpRequestStream(Mock.Of<IHttpBodyControlFeature>(), reader);