1 write to Target
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HubMethodInvocationMessage.cs (1)
54Target = target;
27 references to Target
Microsoft.AspNetCore.Components.Server (2)
src\aspnetcore\src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (2)
439writer.Write(message.Target); 464writer.Write(message.Target);
Microsoft.AspNetCore.SignalR.Common (4)
Protocol\HubMethodInvocationMessage.cs (4)
120return $"InvocationMessage {{ {nameof(InvocationId)}: \"{InvocationId}\", {nameof(Target)}: \"{Target}\", {nameof(Arguments)}: [ {args} ], {nameof(StreamIds)}: [ {streamIds} ] }}"; 175return $"StreamInvocation {{ {nameof(InvocationId)}: \"{InvocationId}\", {nameof(Target)}: \"{Target}\", {nameof(Arguments)}: [ {args} ], {nameof(StreamIds)}: [ {streamIds} ] }}";
Microsoft.AspNetCore.SignalR.Core (19)
Internal\DefaultHubDispatcher.cs (19)
285if (!_methods.TryGetValue(hubMethodInvocationMessage.Target, out var descriptor)) 287Log.UnknownHubMethod(_logger, hubMethodInvocationMessage.Target); 293hubMethodInvocationMessage.InvocationId, $"Unknown hub method '{hubMethodInvocationMessage.Target}'")).AsTask(); 335Log.HubMethodNotAuthorized(_logger, hubMethodInvocationMessage.Target); 337$"Failed to invoke '{hubMethodInvocationMessage.Target}' because user is unauthorized"); 353Log.InvalidHubParameters(_logger, hubMethodInvocationMessage.Target, ex); 355ErrorMessageHelper.BuildErrorMessage($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors)); 407var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, logger, connection); 419Log.FailedInvokingHubMethod(logger, hubMethodInvocationMessage.Target, ex); 421ErrorMessageHelper.BuildErrorMessage($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, enableDetailedErrors)); 466Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 468ErrorMessageHelper.BuildErrorMessage($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex.InnerException ?? ex, _enableDetailedErrors)); 472Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 474ErrorMessageHelper.BuildErrorMessage($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors)); 525var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger, connection); 545Log.FailedInvokingHubMethod(_logger, hubMethodInvocationMessage.Target, ex); 546error = ErrorMessageHelper.BuildErrorMessage($"An unexpected error occurred invoking '{hubMethodInvocationMessage.Target}' on the server.", ex, _enableDetailedErrors); 700$"The client attempted to invoke the streaming '{hubMethodInvocationMessage.Target}' method with a non-streaming invocation.")); 710$"The client attempted to invoke the non-streaming '{hubMethodInvocationMessage.Target}' method with a streaming invocation."));
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Protocol\JsonHubProtocol.cs (2)
643writer.WriteString(TargetPropertyNameBytes, message.Target); 653writer.WriteString(TargetPropertyNameBytes, message.Target);