145 references to SendDataAsync
InMemory.FunctionalTests (145)
Http2\Http2ConnectionTests.cs (79)
450await SendDataAsync(1, _helloBytes, endStream: true); 465await SendDataAsync(3, _helloBytes, endStream: true); 725await SendDataAsync(1, new byte[length], endStream: true); 744await SendDataAsync(1, new byte[length], endStream: true); 774await SendDataAsync(1, _helloWorldBytes, endStream: true); 801await SendDataAsync(1, _maxData, endStream: true); 844await SendDataAsync(1, _maxData, endStream: false); 864await SendDataAsync(1, _maxData, endStream: false); 881await SendDataAsync(1, _maxData, endStream: false); 891await SendDataAsync(1, _maxData, endStream: false); 905await SendDataAsync(1, new Memory<byte>(), endStream: true); 940await SendDataAsync(1, _maxData, endStream: false); 947await SendDataAsync(1, new Memory<byte>(_maxData, 0, remainder), endStream: false); 950await SendDataAsync(1, new Memory<byte>(), endStream: true); 965await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 968await SendDataAsync(1, _noData, endStream: true); 997await SendDataAsync(1, _helloBytes, endStream: false); 1008await SendDataAsync(3, _helloBytes, endStream: false); 1019await SendDataAsync(3, _worldBytes, endStream: false); 1026await SendDataAsync(1, _worldBytes, endStream: false); 1033await SendDataAsync(1, _noData, endStream: true); 1040await SendDataAsync(3, _noData, endStream: true); 1077await SendDataAsync(1, _maxData, endStream: false); 1097await SendDataAsync(1, _maxData, endStream: false); 1114await SendDataAsync(1, _maxData, endStream: false); 1125await SendDataAsync(3, _maxData, endStream: true); 1148await SendDataAsync(1, _maxData, endStream: true); 1203await SendDataAsync(1, _helloBytes, endStream: true); 1206await SendDataAsync(3, _helloBytes, endStream: true); 1318await SendDataAsync(1, _maxData, endStream: false); 1330await SendDataAsync(1, new Memory<byte>(), endStream: true); 1357await SendDataAsync(1, _maxData, endStream: false); 1371await SendDataAsync(1, _maxData, endStream: true); 1428await SendDataAsync(1, _maxData, endStream: false); 1432await SendDataAsync(1, _maxData, endStream: false); 1448await SendDataAsync(1, _maxData, endStream: true); 1489await SendDataAsync(0, _noData, endStream: false); 1504await SendDataAsync(2, _noData, endStream: false); 1568await SendDataAsync(1, _helloWorldBytes, endStream: true); 1583await SendDataAsync(1, _helloWorldBytes, endStream: false); 1601await SendDataAsync(1, _helloWorldBytes, endStream: false); 1623await SendDataAsync(1, _helloWorldBytes, endStream: false); 1840await SendDataAsync(1, _helloWorldBytes, endStream: true); 1863await SendDataAsync(1, _maxData, endStream: false); 1886await SendDataAsync(1, _maxData, endStream: false); 1892await SendDataAsync(3, _maxData, endStream: false); 1895await SendDataAsync(3, _maxData, endStream: false); 2234await SendDataAsync(1, _helloBytes, endStream: false); 2273await SendDataAsync(1, _helloBytes, endStream: true); 3418await SendDataAsync(1, _maxData, endStream: false); 3422await SendDataAsync(1, _maxData, endStream: false); 3540await SendDataAsync(1, new byte[1], endStream: false); 3541await SendDataAsync(1, new byte[2], endStream: false); 3543await SendDataAsync(1, new byte[10], endStream: false); 3566await SendDataAsync(1, new byte[1], endStream: false); 3567await SendDataAsync(1, new byte[2], endStream: false); 3592await SendDataAsync(1, new byte[1], endStream: false); 3617await SendDataAsync(1, new byte[1], endStream: false); 4187await SendDataAsync(1, _helloBytes, true); 4200await SendDataAsync(3, _helloBytes, true); 4684await SendDataAsync(1, _helloWorldBytes, endStream: true); 4723await SendDataAsync(1, _helloWorldBytes, endStream: true); 4856await SendDataAsync(1, _helloBytes, endStream: false); 5077await SendDataAsync(0, _noData, endStream: false); 5221await SendDataAsync(1, _helloBytes, true); 5256await SendDataAsync(1, _helloBytes, true); 5269await SendDataAsync(3, _helloBytes, true); 5383await SendDataAsync(1, new byte[100], endStream: true); 5429await SendDataAsync(1, new byte[100], endStream: true); 5475await SendDataAsync(1, new byte[100], endStream: true); 5561await SendDataAsync(1, new byte[100], endStream: true); 5622await SendDataAsync(1, new byte[100], endStream: false); 5624await SendDataAsync(3, new byte[100], endStream: false); 5626await SendDataAsync(5, new byte[100], endStream: false); 5628await SendDataAsync(7, new byte[100], endStream: false); 5688await SendDataAsync(1, streamPayload, endStream: true); 5722await SendDataAsync(1, new byte[100], endStream: true); 5724await SendDataAsync(1, new byte[100], endStream: true); 5802await SendDataAsync(1, new byte[100], endStream: true);
Http2\Http2KeepAliveTests.cs (8)
288await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 289await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 290await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 291await SendDataAsync(1, new byte[16383], false).DefaultTimeout(); 342await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 343await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 344await SendDataAsync(1, new byte[16384], false).DefaultTimeout(); 345await SendDataAsync(1, new byte[16383], false).DefaultTimeout();
Http2\Http2StreamTests.cs (30)
193await SendDataAsync(1, Encoding.UTF8.GetBytes("Hello World"), endStream: true); 244await SendDataAsync(1, Encoding.UTF8.GetBytes("Hello World"), endStream: true); 885await SendDataAsync(1, new byte[12], endStream: true); 926await SendDataAsync(1, new byte[12], endStream: true); 967await SendDataAsync(1, new byte[1], endStream: false); 968await SendDataAsync(1, new byte[3], endStream: false); 969await SendDataAsync(1, new byte[8], endStream: true); 1010await SendDataAsync(1, new byte[1], endStream: false); 1011await SendDataAsync(1, new byte[3], endStream: false); 1012await SendDataAsync(1, new byte[8], endStream: true); 1062await SendDataAsync(1, new byte[1], endStream: false); 1064await SendDataAsync(1, new byte[3], endStream: false); 1065await SendDataAsync(1, new byte[8], endStream: true); 1156await SendDataAsync(1, new byte[13], endStream: true); 1191await SendDataAsync(1, new byte[11], endStream: true); 1226await SendDataAsync(1, new byte[1], endStream: false); 1227await SendDataAsync(1, new byte[2], endStream: false); 1228await SendDataAsync(1, new byte[10], endStream: false); 1262await SendDataAsync(1, new byte[1], endStream: false); 1263await SendDataAsync(1, new byte[2], endStream: true); 1307await SendDataAsync(1, new byte[12], endStream: true); 1874await SendDataAsync(1, new byte[12], endStream: true); 1960await SendDataAsync(1, new byte[12], endStream: true); 2003await SendDataAsync(1, new byte[6], endStream: false); 2004await SendDataAsync(1, new byte[6], endStream: false); 2065await SendDataAsync(1, new byte[6], endStream: false); 2066await SendDataAsync(1, new byte[6], endStream: false); 2067await SendDataAsync(1, new byte[6], endStream: false); 2122await SendDataAsync(1, new byte[12], endStream: true); 3318await SendDataAsync(1, new byte[10], endStream: false);
Http2\Http2TimeoutTests.cs (19)
160await SendDataAsync(1, _helloWorldBytes, endStream: true); 280await SendDataAsync(1, new byte[100], endStream: false); 362await SendDataAsync(1, _helloWorldBytes, endStream: true); 415await SendDataAsync(1, _maxData, endStream: true); 469await SendDataAsync(1, _helloWorldBytes, endStream: true); 521await SendDataAsync(1, _maxData, endStream: true); 575await SendDataAsync(1, _maxData, endStream: true); 587await SendDataAsync(3, _maxData, endStream: true); 639await SendDataAsync(1, _helloWorldBytes, endStream: false); 686await SendDataAsync(1, _maxData, endStream: false); 737await SendDataAsync(1, _maxData, endStream: false); 750await SendDataAsync(3, _maxData, endStream: false); 804await SendDataAsync(1, _maxData, endStream: true); 822await SendDataAsync(3, _maxData, endStream: false); 877await SendDataAsync(1, _helloWorldBytes, endStream: false); 898await SendDataAsync(1, _helloWorldBytes, endStream: true); 942await SendDataAsync(1, _maxData, endStream: false); 944await SendDataAsync(1, _maxData, endStream: true); 947await SendDataAsync(3, _helloWorldBytes, endStream: false);
Http2\Http2WebSocketTests.cs (9)
127await SendDataAsync(1, Array.Empty<byte>(), endStream: true); 218await SendDataAsync(1, Array.Empty<byte>(), endStream: true); 253await SendDataAsync(3, Array.Empty<byte>(), endStream: true); 357await SendDataAsync(1, Array.Empty<byte>(), endStream: true); 421await SendDataAsync(1, new byte[(int)limits.MaxRequestBodySize + 1], endStream: true); 489await SendDataAsync(1, new byte[10241], endStream: true); 551await SendDataAsync(1, new byte[10241], endStream: true); 661await SendDataAsync(1, Array.Empty<byte>(), endStream: true); 699await SendDataAsync(3, _helloBytes, endStream: true);