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