1 write to Error
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\CloseMessage.cs (1)
49Error = error;
14 references to Error
Microsoft.AspNetCore.Components.Server (2)
src\aspnetcore\src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (2)
560if (string.IsNullOrEmpty(message.Error)) 566writer.Write(message.Error);
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
1339if (string.IsNullOrEmpty(close.Error)) 1345Log.ReceivedCloseWithError(_logger, close.Error); 1664if (closeMessage.Error != null) 1666connectionState.CloseException = new HubException($"The server closed the connection with the following error: {closeMessage.Error}");
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionHandler.cs (2)
209if (connection.CloseMessage.Error is not null) 212disconnectException = new HubException(connection.CloseMessage.Error);
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Protocol\JsonHubProtocol.cs (2)
662if (message.Error != null) 664writer.WriteString(ErrorPropertyNameBytes, message.Error);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
Protocol\MessagePackHubProtocolWorker.cs (2)
560if (string.IsNullOrEmpty(message.Error)) 566writer.Write(message.Error);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (2)
Protocol\NewtonsoftJsonHubProtocol.cs (2)
653if (message.Error != null) 656writer.WriteValue(message.Error);