public Http3HttpProtocolFeatureCollectionTests() { var streamContext = TestContextFactory.CreateHttp3StreamContext(transport: DuplexPipe.CreateConnectionPair(new PipeOptions(), new PipeOptions()).Application); var http3Stream = new TestHttp3Stream(streamContext); http3Stream.Reset(); _http3Collection = http3Stream; }
public Http3HttpProtocolFeatureCollectionTests() { var connectionFeatures = new TestConnectionFeatures().FeatureCollection; var streamContext = TestContextFactory.CreateHttp3StreamContext( transport: DuplexPipe.CreateConnectionPair(new PipeOptions(), new PipeOptions()).Application, connectionFeatures: connectionFeatures); var http3Stream = new TestHttp3Stream(); http3Stream.Initialize(streamContext); _http3Collection = http3Stream; }