3 instantiations of TestStreamContext
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (3)
418var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, this); 478testStreamContext = new TestStreamContext(canRead: true, canWrite: true, this); 1094var 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)
77internal readonly ConcurrentQueue<TestStreamContext> _streamContextPool = new ConcurrentQueue<TestStreamContext>(); 84internal Func<TestStreamContext, Http3ControlStream> OnCreateServerControlStream { get; set; } 418var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, this); 476if (!_streamContextPool.TryDequeue(out var testStreamContext)) 499internal TestStreamContext StreamContext { get; } 520public Http3StreamBase(TestStreamContext testStreamContext) 683private readonly TestStreamContext _testStreamContext; 702public Http3RequestStream(Http3InMemory testBase, Http3Connection connection, TestStreamContext testStreamContext, Http3RequestHeaderHandler headerHandler) 849public Http3ControlStream(Http3InMemory testBase, TestStreamContext testStreamContext) 1094var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, _testBase);