40 references to SendInvocationAsync
Microsoft.AspNetCore.SignalR.Tests (40)
HubConnectionHandlerTests.Activity.cs (3)
56await client.SendInvocationAsync(nameof(MethodHub.Echo), "test").DefaultTimeout(); 65await client.SendInvocationAsync("RenamedMethod").DefaultTimeout(); 71await client.SendInvocationAsync(nameof(MethodHub.ActivityMethod)).DefaultTimeout();
HubConnectionHandlerTests.cs (37)
155await client.SendInvocationAsync(nameof(AbortHub.Kill)).DefaultTimeout(); 960await client.SendInvocationAsync(nameof(MethodHub.BlockingMethod)).DefaultTimeout(); 1383await firstClient.SendInvocationAsync(nameof(MethodHub.BroadcastMethod), "test").DefaultTimeout(); 1421await firstClient.SendInvocationAsync(nameof(MethodHub.SendArray)).DefaultTimeout(); 1459await firstClient.SendInvocationAsync("SendToOthers", "To others").DefaultTimeout(); 1469await secondClient.SendInvocationAsync("BroadcastMethod", "To everyone").DefaultTimeout(); 1500await firstClient.SendInvocationAsync("SendToCaller", "To caller").DefaultTimeout(); 1507await firstClient.SendInvocationAsync("BroadcastMethod", "To everyone").DefaultTimeout(); 1570await firstClient.SendInvocationAsync("SendToAllExcept", "To second", excludeThirdClientId).DefaultTimeout(); 1571await firstClient.SendInvocationAsync("SendToAllExcept", "To third", excludeSecondClientId).DefaultTimeout(); 1614await firstClient.SendInvocationAsync("SendToMultipleClients", "Second and Third", secondAndThirdClients).DefaultTimeout(); 1659await firstClient.SendInvocationAsync(nameof(MethodHub.SendToMultipleUsers), new[] { "userB", "userC" }, "Second and Third").DefaultTimeout(); 1712await firstClient.SendInvocationAsync(nameof(MethodHub.GroupSendMethod), "testGroup", "test").DefaultTimeout(); 1759await firstClient.SendInvocationAsync("GroupExceptSendMethod", "testGroup", "test", excludedConnectionIds).DefaultTimeout(); 1810await firstClient.SendInvocationAsync("SendToOthersInGroup", "testGroup", "test").DefaultTimeout(); 1854await firstClient.SendInvocationAsync(nameof(MethodHub.SendToMultipleGroups), "test", groupNames).DefaultTimeout(); 1890await client.SendInvocationAsync(nameof(MethodHub.GroupRemoveMethod), "testGroup").DefaultTimeout(); 1916await firstClient.SendInvocationAsync("ClientSendMethod", "userB", "test").DefaultTimeout(); 1950await firstClient.SendInvocationAsync("ConnectionSendMethod", secondClient.Connection.ConnectionId, "test").DefaultTimeout(); 1983await firstClient.SendInvocationAsync("DelayedSend", secondClient.Connection.ConnectionId, "test").DefaultTimeout(); 2142await client1.SendInvocationAsync(nameof(MethodHub.BroadcastMethod), sentMessage); 2395await client.SendInvocationAsync(nameof(MethodHub.BroadcastItem)).DefaultTimeout(); 2425await client.SendInvocationAsync(nameof(MethodHub.BroadcastItem)).DefaultTimeout(); 2465await client.SendInvocationAsync(nameof(MethodHub.BroadcastItem)).DefaultTimeout(); 2561await client2.SendInvocationAsync(nameof(MethodHub.SendToMultipleUsers), new[] { "client1" }, "Hi!").DefaultTimeout(); 2710await client.SendInvocationAsync("Echo", "foo").DefaultTimeout(); 2823var id = await client.SendInvocationAsync(nameof(MethodHub.ValueMethod)).DefaultTimeout(); 2922var id = await client.SendInvocationAsync(nameof(MethodHub.ValueMethod)).DefaultTimeout(); 3038_ = await client.SendInvocationAsync(nameof(LongRunningHub.LongRunningMethod)).DefaultTimeout(); 3611await client.SendInvocationAsync("Echo", "test"); 3808await client.SendInvocationAsync(nameof(MethodHub.ProtocolError)).DefaultTimeout(); 3828await client.SendInvocationAsync(nameof(ConnectionLifetimeHub.ProtocolErrorSelf)).DefaultTimeout(); 3851await client.SendInvocationAsync(nameof(ConnectionLifetimeHub.ProtocolErrorAll)).DefaultTimeout(); 4149await client.SendInvocationAsync("VoidMethod").DefaultTimeout(); 4186await client.SendInvocationAsync("VoidMethod").DefaultTimeout(); 4390var invocationId = await client.SendInvocationAsync(nameof(MethodHub.InvalidArgument)).DefaultTimeout(); 5212await client.SendInvocationAsync(nameof(MethodHub.Echo), new object[] { "t" }).DefaultTimeout();