3 instantiations of TestStreamContext
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (3)
400var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, this); 458testStreamContext = new TestStreamContext(canRead: true, canWrite: true, this); 1062var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, _testBase);
12 references to TestStreamContext
InMemory.FunctionalTests (12)
Http3\Http3ConnectionTests.cs (1)
595var streamContext = requestStream.StreamContext;
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (11)
78internal readonly ConcurrentQueue<TestStreamContext> _streamContextPool = new ConcurrentQueue<TestStreamContext>(); 85internal Func<TestStreamContext, Http3ControlStream> OnCreateServerControlStream { get; set; } 400var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, this); 456if (!_streamContextPool.TryDequeue(out var testStreamContext)) 477internal TestStreamContext StreamContext { get; } 496public Http3StreamBase(TestStreamContext testStreamContext) 659private readonly TestStreamContext _testStreamContext; 678public Http3RequestStream(Http3InMemory testBase, Http3Connection connection, TestStreamContext testStreamContext, Http3RequestHeaderHandler headerHandler) 825public Http3ControlStream(Http3InMemory testBase, TestStreamContext testStreamContext) 1062var testStreamContext = new TestStreamContext(canRead: true, canWrite: false, _testBase);