3 instantiations of TestStreamContext
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (3)
405
var testStreamContext = new
TestStreamContext
(canRead: true, canWrite: false, this);
465
testStreamContext = new
TestStreamContext
(canRead: true, canWrite: true, this);
1077
var testStreamContext = new
TestStreamContext
(canRead: true, canWrite: false, _testBase);
11 references to TestStreamContext
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (11)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (11)
78
internal readonly ConcurrentQueue<
TestStreamContext
> _streamContextPool = new ConcurrentQueue<
TestStreamContext
>();
85
internal Func<
TestStreamContext
, Http3ControlStream> OnCreateServerControlStream { get; set; }
405
var
testStreamContext = new TestStreamContext(canRead: true, canWrite: false, this);
463
if (!_streamContextPool.TryDequeue(out
var
testStreamContext))
484
internal
TestStreamContext
StreamContext { get; }
503
public Http3StreamBase(
TestStreamContext
testStreamContext)
666
private readonly
TestStreamContext
_testStreamContext;
685
public Http3RequestStream(Http3InMemory testBase, Http3Connection connection,
TestStreamContext
testStreamContext, Http3RequestHeaderHandler headerHandler)
832
public Http3ControlStream(Http3InMemory testBase,
TestStreamContext
testStreamContext)
1077
var
testStreamContext = new TestStreamContext(canRead: true, canWrite: false, _testBase);