13 references to InvokeAsync
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (2)
740
await connection.
InvokeAsync
("CallHandlerThatDoesntExist").DefaultTimeout();
1081
var ex = await Assert.ThrowsAsync<HubException>(() => connection.
InvokeAsync
("!@#$%")).DefaultTimeout();
Microsoft.AspNetCore.SignalR.Client.Tests (8)
HubConnectionTests.ConnectionLifecycle.cs (1)
30
{ nameof(HubConnection.InvokeCoreAsync), (connection) => connection.
InvokeAsync
("Foo") },
HubConnectionTests.cs (1)
419
var invokeTask = hubConnection.
InvokeAsync
("Method").DefaultTimeout();
HubConnectionTests.Protocol.cs (3)
126
var invokeTask = hubConnection.
InvokeAsync
("Foo");
236
var invokeTask = hubConnection.
InvokeAsync
("Foo");
513
var invokeTask = hubConnection.
InvokeAsync
("Foo");
HubConnectionTests.Tracing.cs (3)
41
var invokeTask = hubConnection.
InvokeAsync
("Foo");
155
_ = hubConnection.
InvokeAsync
("Foo");
194
_ = hubConnection.
InvokeAsync
("Foo");
Microsoft.AspNetCore.SignalR.Tests (3)
NativeAotTests.cs (3)
38
await connection.
InvokeAsync
(nameof(AsyncMethodHub.TaskMethod)).DefaultTimeout();
41
await connection.
InvokeAsync
(nameof(AsyncMethodHub.ValueTaskMethod)).DefaultTimeout();
44
await connection.
InvokeAsync
(nameof(AsyncMethodHub.CustomTaskMethod)).DefaultTimeout();