1 write to _pair
InMemory.FunctionalTests (1)
Http2\Http2TestBase.cs (1)
474_pair = DuplexPipe.CreateConnectionPair(inputPipeOptions, outputPipeOptions);
79 references to _pair
InMemory.FunctionalTests (79)
Http2\Http2ConnectionTests.cs (25)
2718var outputWriter = _pair.Application.Output; 3739Http2FrameWriter.WriteHeader(frame, _pair.Application.Output); 3740await FlushAsync(_pair.Application.Output); 4296_pair.Application.Output.Complete(); 4297_pair.Transport.Input.Complete(); 4298_pair.Transport.Output.Complete(); 4375_pair.Application.Output.Complete(); 4376_pair.Transport.Input.Complete(); 4377_pair.Transport.Output.Complete(); 5084_pair.Application.Output.Complete(new ConnectionResetException(string.Empty)); 5097_pair.Application.Output.Complete(new ConnectionResetException(string.Empty)); 5113var result = await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout(); 5139_pair.Application.Output.Complete(); 5167_pair.Application.Output.Complete(); 5175var readTask = _pair.Application.Input.ReadAsync(); 5176_pair.Application.Input.CancelPendingRead(); 5185readTask = _pair.Application.Input.ReadAsync(); 5186_pair.Application.Input.CancelPendingRead(); 5289var result = await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout(); 5302_pair.Application.Output.Complete(ioException); 5322_pair.Application.Output.Complete(exception); 5503_pair.Transport.Input.Complete(); 5504_pair.Transport.Output.Complete(); 5585_pair.Transport.Input.Complete(); 5586_pair.Transport.Output.Complete();
Http2\Http2TestBase.cs (51)
182_pair.Application.Output.Complete(ex); 419_pair.Application?.Input.Complete(); 420_pair.Application?.Output.Complete(); 421_pair.Transport?.Input.Complete(); 422_pair.Transport?.Output.Complete(); 488transport: _pair.Transport, 565_pair.Transport.Input.Complete(); 566_pair.Transport.Output.Complete(); 616var writableBuffer = _pair.Application.Output; 631var writableBuffer = _pair.Application.Output; 650var writableBuffer = _pair.Application.Output; 692var writableBuffer = _pair.Application.Output; 737var writableBuffer = _pair.Application.Output; 783var writableBuffer = _pair.Application.Output; 797_pair.Application.Output.WriteSettings(_clientSettings); 798await FlushAsync(_pair.Application.Output); 803var writableBuffer = _pair.Application.Output; 813var writableBuffer = _pair.Application.Output; 827var writableBuffer = _pair.Application.Output; 839var writableBuffer = _pair.Application.Output; 857var writableBuffer = _pair.Application.Output; 869var outputWriter = _pair.Application.Output; 890var outputWriter = _pair.Application.Output; 904var outputWriter = _pair.Application.Output; 921var outputWriter = _pair.Application.Output; 939var outputWriter = _pair.Application.Output; 955var outputWriter = _pair.Application.Output; 967var outputWriter = _pair.Application.Output; 994var outputWriter = _pair.Application.Output; 1006var outputWriter = _pair.Application.Output; 1024var outputWriter = _pair.Application.Output; 1035var outputWriter = _pair.Application.Output; 1057var outputWriter = _pair.Application.Output; 1075var outputWriter = _pair.Application.Output; 1084var outputWriter = _pair.Application.Output; 1096var outputWriter = _pair.Application.Output; 1113var outputWriter = _pair.Application.Output; 1127var outputWriter = _pair.Application.Output; 1143var outputWriter = _pair.Application.Output; 1155var outputWriter = _pair.Application.Output; 1165var outputWriter = _pair.Application.Output; 1174var outputWriter = _pair.Application.Output; 1184var outputWriter = _pair.Application.Output; 1191var outputWriter = _pair.Application.Output; 1201var outputWriter = _pair.Application.Output; 1214var result = await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout(); 1222_pair.Application.Input.AdvanceTo(result.Buffer.Start, result.Buffer.End); 1232var result = await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout(); 1261_pair.Application.Input.AdvanceTo(consumed, examined); 1280_pair.Application.Output.Complete(); 1304_pair.Application.Output.Complete();
Http2\Http2TimeoutTests.cs (3)
322_pair.Application.Output.Complete(); 390Assert.True((await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout()).IsCompleted); 445Assert.True((await _pair.Application.Input.ReadAsync().AsTask().DefaultTimeout()).IsCompleted);