9 references to SendAsync
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubConnectionTests.cs (1)
2785
await connection.
SendAsync
(nameof(TestHub.Abort)).DefaultTimeout();
Microsoft.AspNetCore.SignalR.Client.Tests (8)
HubConnectionTests.ConnectionLifecycle.cs (4)
31
{ nameof(HubConnection.SendCoreAsync), (connection) => connection.
SendAsync
("Foo") },
377
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
SendAsync
("Foo")).DefaultTimeout();
412
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
SendAsync
("Foo")).DefaultTimeout();
450
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => connection.
SendAsync
("Foo")).DefaultTimeout();
HubConnectionTests.cs (2)
55
await Assert.ThrowsAsync<InvalidOperationException>(async () => await hubConnection.
SendAsync
("test").DefaultTimeout());
211
hubConnection.
SendAsync
("testMethod", cancellationToken: new CancellationToken(canceled: true)).DefaultTimeout());
HubConnectionTests.Protocol.cs (1)
26
var invokeTask = hubConnection.
SendAsync
("Foo").DefaultTimeout();
HubConnectionTests.Tracing.cs (1)
116
await hubConnection.
SendAsync
("Foo");