1 implementation of Caller
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubCallerClients.cs (1)
27public ISingleClientProxy Caller
24 references to Caller
Microsoft.AspNetCore.Components.Server (9)
ComponentHub.cs (9)
91await NotifyClientError(Clients.Caller, $"The circuit host '{circuitHost.CircuitId}' has already been initialized."); 107await NotifyClientError(Clients.Caller, "The uris provided are invalid."); 115await NotifyClientError(Clients.Caller, "The list of component records is not valid."); 122var circuitClient = new CircuitClientProxy(Clients.Caller, Context.ConnectionId); 157await NotifyClientError(Clients.Caller, "The circuit failed to initialize."); 177await NotifyClientError(Clients.Caller, "The list of component operations is not valid."); 203Clients.Caller, 352await NotifyClientError(Clients.Caller, "Circuit has been shut down due to error."); 361await NotifyClientError(Clients.Caller, "Circuit not initialized.");
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
128mockCaller.Setup(x => x.Caller).Returns(mockClientProxy.Object);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Hubs.cs (1)
304return Clients.Caller.SendAsync("NewProtocolMethodClient");
Microsoft.AspNetCore.SignalR.Core (2)
DynamicHubClients.cs (1)
40public dynamic Caller => new DynamicClientProxy(_clients.Caller);
Internal\TypedHubClients.cs (1)
19public T Caller => TypedClientBuilder<T>.Build(_hubClients.Caller);
Microsoft.AspNetCore.SignalR.Tests (10)
HubConnectionHandlerTestUtils\Hubs.cs (10)
179return Clients.Caller.SendAsync("Send", message); 184return Clients.Caller.SendAsync("Send", new SelfRef()); 340var sum = await Clients.Caller.InvokeAsync<int>("Sum", num, cancellationToken: default); 346var caller = Clients.Caller; 364var sum = await Clients.Caller.InvokeAsync<int>("Sum", 1, cancellationToken: default); 370var sum = await Clients.Caller.InvokeAsync<int>("Sum", 1, cancellationToken: default); 1281return Clients.Caller.SendAsync("Send", new SelfRef()); 1313await Clients.Caller.InvokeAsync<int>("Test", cancellationToken: default); 1321await Clients.Caller.InvokeAsync<int>("Test", cancellationToken: default); 1336_service.SetCaller(Clients.Caller);
SignalRSamples (1)
Hubs\Chat.cs (1)
63return Clients.Caller.SendAsync("Send", $"{name}: {message}");