1 write to Error
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeResponseMessage.cs (1)
28
Error
= error;
14 references to Error
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
1529
if (message.
Error
!= null)
1531
Log.HandshakeServerError(_logger, message.
Error
);
1533
$"Unable to complete handshake with the server due to an error: {message.
Error
}");
Microsoft.AspNetCore.SignalR.Common (2)
Protocol\HandshakeProtocol.cs (2)
93
if (!string.IsNullOrEmpty(responseMessage.
Error
))
95
writer.WriteString(ErrorPropertyNameBytes, responseMessage.
Error
);
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\HandshakeProtocolTests.cs (2)
55
Assert.Equal(error, response.
Error
);
65
Assert.Equal("dummy", response.
Error
);
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
440
if (message.
Error
== null)
Microsoft.AspNetCore.SignalR.Tests (6)
HubConnectionHandlerTests.cs (6)
208
Assert.Equal("Handshake was canceled.", client.HandshakeResponseMessage.
Error
);
264
Assert.Equal("The protocol 'CustomProtocol' is not supported.", client.HandshakeResponseMessage.
Error
);
290
Assert.Equal("Cannot use the 'messagepack' protocol on the current transport. The transport does not support 'Binary' transfer format.", client.HandshakeResponseMessage.
Error
);
323
Assert.Equal("Handshake was canceled.", ((HandshakeResponseMessage)message).
Error
);
467
Assert.Null(client.HandshakeResponseMessage.
Error
);
649
Assert.Equal("The server does not support version 9001 of the 'json' protocol.", client.HandshakeResponseMessage.
Error
);