145 references to SendDataAsync
InMemory.FunctionalTests (145)
Http2\Http2ConnectionTests.cs (79)
446await SendDataAsync(1, _helloBytes, endStream: true); 461await SendDataAsync(3, _helloBytes, endStream: true); 709await SendDataAsync(1, new byte[length], endStream: true); 728await SendDataAsync(1, new byte[length], endStream: true); 758await SendDataAsync(1, _helloWorldBytes, endStream: true); 785await SendDataAsync(1, _maxData, endStream: true); 828await SendDataAsync(1, _maxData, endStream: false); 848await SendDataAsync(1, _maxData, endStream: false); 865await SendDataAsync(1, _maxData, endStream: false); 875await SendDataAsync(1, _maxData, endStream: false); 889await SendDataAsync(1, new Memory<byte>(), endStream: true); 924await SendDataAsync(1, _maxData, endStream: false); 931await SendDataAsync(1, new Memory<byte>(_maxData, 0, remainder), endStream: false); 934await SendDataAsync(1, new Memory<byte>(), endStream: true); 949await SendDataAsync(1, new ArraySegment<byte>(_helloWorldBytes, i, 1), endStream: false); 952await SendDataAsync(1, _noData, endStream: true); 981await SendDataAsync(1, _helloBytes, endStream: false); 992await SendDataAsync(3, _helloBytes, endStream: false); 1003await SendDataAsync(3, _worldBytes, endStream: false); 1010await SendDataAsync(1, _worldBytes, endStream: false); 1017await SendDataAsync(1, _noData, endStream: true); 1024await SendDataAsync(3, _noData, endStream: true); 1061await SendDataAsync(1, _maxData, endStream: false); 1081await SendDataAsync(1, _maxData, endStream: false); 1098await SendDataAsync(1, _maxData, endStream: false); 1109await SendDataAsync(3, _maxData, endStream: true); 1132await SendDataAsync(1, _maxData, endStream: true); 1187await SendDataAsync(1, _helloBytes, endStream: true); 1190await SendDataAsync(3, _helloBytes, endStream: true); 1302await SendDataAsync(1, _maxData, endStream: false); 1314await SendDataAsync(1, new Memory<byte>(), endStream: true); 1341await SendDataAsync(1, _maxData, endStream: false); 1355await SendDataAsync(1, _maxData, endStream: true); 1412await SendDataAsync(1, _maxData, endStream: false); 1416await SendDataAsync(1, _maxData, endStream: false); 1432await SendDataAsync(1, _maxData, endStream: true); 1473await SendDataAsync(0, _noData, endStream: false); 1488await SendDataAsync(2, _noData, endStream: false); 1552await SendDataAsync(1, _helloWorldBytes, endStream: true); 1567await SendDataAsync(1, _helloWorldBytes, endStream: false); 1585await SendDataAsync(1, _helloWorldBytes, endStream: false); 1607await SendDataAsync(1, _helloWorldBytes, endStream: false); 1824await SendDataAsync(1, _helloWorldBytes, endStream: true); 1847await SendDataAsync(1, _maxData, endStream: false); 1870await SendDataAsync(1, _maxData, endStream: false); 1876await SendDataAsync(3, _maxData, endStream: false); 1879await SendDataAsync(3, _maxData, endStream: false); 2218await SendDataAsync(1, _helloBytes, endStream: false); 2257await SendDataAsync(1, _helloBytes, endStream: true); 3402await SendDataAsync(1, _maxData, endStream: false); 3406await SendDataAsync(1, _maxData, endStream: false); 3524await SendDataAsync(1, new byte[1], endStream: false); 3525await SendDataAsync(1, new byte[2], endStream: false); 3527await SendDataAsync(1, new byte[10], endStream: false); 3550await SendDataAsync(1, new byte[1], endStream: false); 3551await SendDataAsync(1, new byte[2], endStream: false); 3576await SendDataAsync(1, new byte[1], endStream: false); 3601await SendDataAsync(1, new byte[1], endStream: false); 4171await SendDataAsync(1, _helloBytes, true); 4184await SendDataAsync(3, _helloBytes, true); 4668await SendDataAsync(1, _helloWorldBytes, endStream: true); 4707await SendDataAsync(1, _helloWorldBytes, endStream: true); 4840await SendDataAsync(1, _helloBytes, endStream: false); 5061await SendDataAsync(0, _noData, endStream: false); 5205await SendDataAsync(1, _helloBytes, true); 5240await SendDataAsync(1, _helloBytes, true); 5253await SendDataAsync(3, _helloBytes, true); 5367await SendDataAsync(1, new byte[100], endStream: true); 5413await SendDataAsync(1, new byte[100], endStream: true); 5459await SendDataAsync(1, new byte[100], endStream: true); 5545await SendDataAsync(1, new byte[100], endStream: true); 5606await SendDataAsync(1, new byte[100], endStream: false); 5608await SendDataAsync(3, new byte[100], endStream: false); 5610await SendDataAsync(5, new byte[100], endStream: false); 5612await SendDataAsync(7, new byte[100], endStream: false); 5672await SendDataAsync(1, streamPayload, endStream: true); 5706await SendDataAsync(1, new byte[100], endStream: true); 5708await SendDataAsync(1, new byte[100], endStream: true); 5786await 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);