212 references to ConnectAsync
Microsoft.AspNetCore.SignalR.Tests (212)
HubConnectionHandlerTests.Activity.cs (8)
52var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 127var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 198var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 257var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 328var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 375var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 427var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 478var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout();
HubConnectionHandlerTests.ClientResult.cs (13)
23var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 56var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 88var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 115var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 140var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 173var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 206var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 241var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 295var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 365var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 410var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 454var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 495var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout();
HubConnectionHandlerTests.cs (173)
49var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 77var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 103var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 127var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 153var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 177var connectionHandlerTask = await client.ConnectAsync(connectionHandler, false, false); 205var connectionHandlerTask = await client.ConnectAsync(connectionHandler, false); 261var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 287var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 317var connectionHandlerTask = await client.ConnectAsync(connectionHandler, 347var connectionHandlerTask = await client.ConnectAsync(connectionHandler, 390var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 429var connectionHandlerTask = await client.ConnectAsync(connectionHandler, 464var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 489var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 518var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 552var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 603var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 646var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 671var connectionHandlerTask = await client.ConnectAsync(connectionHandler, sendHandshakeRequestMessage: false, expectedHandshakeResponseMessage: false); 712var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 749var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 781var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 804var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 830var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 856var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 880var connectionHandlerTask = (Task)await client.ConnectAsync(connectionHandler); 926var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 958var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 995var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1020var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1049var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1074var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1100var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1135var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1163var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1188var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1213var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1238var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1282var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1307var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1340var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1378var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1379var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1416var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1417var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1454var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1455var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1495var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1496var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1538var connectionTask = await firstClient.ConnectAsync(connectionHandler); 1559var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1560var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1561var thirdConnectionHandlerTask = await thirdClient.ConnectAsync(connectionHandler); 1605var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1606var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1607var thirdConnectionHandlerTask = await thirdClient.ConnectAsync(connectionHandler); 1653var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1654var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1655var thirdConnectionHandlerTask = await thirdClient.ConnectAsync(connectionHandler); 1697var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1698var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1741var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1742var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1794var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1795var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1845var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1846var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1888var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 1911var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1912var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1945var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1946var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 1978var firstConnectionHandlerTask = await firstClient.ConnectAsync(connectionHandler); 1979var secondConnectionHandlerTask = await secondClient.ConnectAsync(connectionHandler); 2018var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2049var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2098var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2134var firstConnectionHandlerTask = await client1.ConnectAsync(connectionHandler); 2135var secondConnectionHandlerTask = await client2.ConnectAsync(connectionHandler); 2209var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2246var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2286var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2354var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2391var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2421var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2461var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2499await Assert.ThrowsAsync<InvalidOperationException>(async () => await await client.ConnectAsync(connectionHandler, expectedHandshakeResponseMessage: false)).DefaultTimeout(); 2523await Assert.ThrowsAsync<InvalidOperationException>(async () => await await client.ConnectAsync(connectionHandler, expectedHandshakeResponseMessage: false)).DefaultTimeout(); 2555var connectionHandlerTask1 = await client1.ConnectAsync(connectionHandler); 2556var connectionHandlerTask2 = await client2.ConnectAsync(connectionHandler); 2624var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2649var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2673var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2702var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2749var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2811var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2847var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2880var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 2910var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3026var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3082var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3109var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3152var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3187var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3222var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3257var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3292var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3335var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3390var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3446var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3517var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3564var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3601var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3625var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3648var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3676var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3740var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3776var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3806var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3825var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3848var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 3872var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3903var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3923var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3950var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3975var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 3999await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4019await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4038await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4060var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4098var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4135var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4172var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4218var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4261var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4304var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4335var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4362var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4388var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4415Task connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4485var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4517var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4542var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4569var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4611var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4632var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 4660var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4677var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4696var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4715var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4740var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4762var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4783var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4804var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4829var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4852var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4874var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4894var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4914var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4937var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4960var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 4984var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 5007var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 5030var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 5100var connectionHandlerTask = await client1.ConnectAsync(connectionHandler).DefaultTimeout(); 5101_ = await client2.ConnectAsync(connectionHandler).DefaultTimeout(); 5121var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 5145var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 5177var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 5207var connectionHandlerTask = await client.ConnectAsync(connectionHandler).DefaultTimeout(); 5253var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 5317var connectionHandlerTask = await client.ConnectAsync(connectionHandler);
HubFilterTests.cs (18)
118var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 157var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 192var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 242var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 293var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 341var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 401var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 463var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 543var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 592var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 635var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 666var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 696var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 733var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 774var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 809var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 850var connectionHandlerTask = await client.ConnectAsync(connectionHandler); 888var connectionHandlerTask = await client.ConnectAsync(connectionHandler);