1 write to TransportConnection
InMemory.FunctionalTests (1)
TestTransport\InMemoryConnection.cs (1)
16
TransportConnection
= transportConnection;
23 references to TransportConnection
InMemory.FunctionalTests (23)
KeepAliveTimeoutTests.cs (6)
36
await connection.
TransportConnection
.WaitForReadTask;
68
await connection.
TransportConnection
.WaitForReadTask;
101
await connection.
TransportConnection
.WaitForReadTask;
147
await connection.
TransportConnection
.WaitForReadTask;
191
await connection.
TransportConnection
.WaitForReadTask;
217
await connection.
TransportConnection
.WaitForReadTask;
KestrelMetricsTests.cs (2)
294
connection.
TransportConnection
.ConnectionClosed.Register(() =>
634
connection.
TransportConnection
.ConnectionClosed.Register(() => tcs.TrySetResult());
RequestHeadersTimeoutTests.cs (4)
35
await connection.
TransportConnection
.WaitForReadTask;
64
await connection.
TransportConnection
.WaitForReadTask;
102
await connection.
TransportConnection
.WaitForReadTask;
132
await connection.
TransportConnection
.WaitForReadTask;
RequestTests.cs (2)
1281
await connection.
TransportConnection
.WaitForCloseTask;
1292
await connection.
TransportConnection
.WaitForCloseTask;
ResponseDrainingTests.cs (1)
36
var transportConnection = connection.
TransportConnection
;
ResponseTests.cs (1)
2863
closeTaskTcs.SetResult(connection.
TransportConnection
.WaitForCloseTask);
TestTransport\InMemoryConnection.cs (7)
23
TransportConnection
.Input.Complete(new ConnectionResetException(string.Empty));
24
TransportConnection
.OnClosed();
29
TransportConnection
.Input.Complete();
30
TransportConnection
.OnClosed();
35
TransportConnection
.Input.Complete();
36
TransportConnection
.Output.Complete();
37
TransportConnection
.OnClosed();