17 references to SendCoreAsync
Microsoft.AspNetCore.SignalR.Client.Core (11)
HubConnectionExtensions.SendAsync.cs (11)
27
return hubConnection.
SendCoreAsync
(methodName, Array.Empty<object>(), cancellationToken);
42
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1 }, cancellationToken);
58
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2 }, cancellationToken);
75
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3 }, cancellationToken);
93
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4 }, cancellationToken);
112
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5 }, cancellationToken);
132
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5, arg6 }, cancellationToken);
153
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7 }, cancellationToken);
175
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 }, cancellationToken);
198
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 }, cancellationToken);
222
return hubConnection.
SendCoreAsync
(methodName, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 }, cancellationToken);
Microsoft.AspNetCore.SignalR.Client.Tests (5)
HubConnectionTests.cs (3)
855
mockConnection.Setup(c => c.
SendCoreAsync
(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())).Returns(() => Task.CompletedTask);
867
await hubConnection.
SendCoreAsync
("test2", Array.Empty<object>(), default);
876
mockConnection.Verify(c => c.
SendCoreAsync
("test2", Array.Empty<object>(), It.IsAny<CancellationToken>()), Times.Once);
HubServerProxyGeneratorTests.cs (2)
222
.Setup(x => x.
SendCoreAsync
(
228
.Setup(x => x.
SendCoreAsync
(
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
HubConnectionSendBenchmark.cs (1)
93
return _hubConnection.
SendCoreAsync
("Dummy", _arguments);