2 implementations of Clients
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubContext.cs (1)
18
public IHubClients
Clients
=> _clients;
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
245
public IHubClients
Clients
=> throw new System.NotImplementedException();
7 references to Clients
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
660
hub.Clients = new HubCallerClients(_hubContext.
Clients
, connection.ConnectionId, connection.ActiveInvocationLimit) { InvokeAllowed = invokeAllowed };
Microsoft.AspNetCore.SignalR.Tests (4)
HubConnectionHandlerTests.ClientResult.cs (2)
146
var resultTask = context.
Clients
.Client(client.Connection.ConnectionId).InvokeAsync<int>("GetClientResult", 1, cancellationToken: default);
418
var resultTask = context.
Clients
.Client(connectionId).InvokeAsync<int>(nameof(MethodHub.GetClientResult), 1, cts.Token);
HubConnectionHandlerTests.cs (2)
222
await context.
Clients
.All.SendAsync("Send", "test");
4638
await context.
Clients
.All.SendAsync("Send", "test");
SignalR.Client.FunctionalTestApp (2)
Startup.cs (1)
250
var result = await hubContext.
Clients
.Client(id).InvokeAsync<int>("Result", cancellationToken: default);
TestHub.cs (1)
77
await ((IHubContext<TestHub>)state).
Clients
.Client(connectionId).SendAsync("StreamCanceled");