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); 158await NotifyClientError(Clients.Caller, "The circuit failed to initialize."); 178await NotifyClientError(Clients.Caller, "The list of component operations is not valid."); 204Clients.Caller, 353await NotifyClientError(Clients.Caller, "Circuit has been shut down due to error."); 362await NotifyClientError(Clients.Caller, "Circuit not initialized.");
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\ComponentHubTest.cs (1)
131mockCaller.Setup(x => x.Caller).Returns(mockClientProxy.Object);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Hubs.cs (1)
312return Clients.Caller.SendAsync("NewProtocolMethodClient");
Microsoft.AspNetCore.SignalR.Core (2)
DynamicHubClients.cs (1)
42public dynamic Caller => new DynamicClientProxy(_clients.Caller);
Internal\TypedHubClients.cs (1)
22public 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}");