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