10 references to HandshakeResponseMessage
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.Reconnect.cs (1)
919HandshakeProtocol.WriteResponseMessage(new HandshakeResponseMessage("Error!"), output);
Microsoft.AspNetCore.SignalR.Common (2)
Protocol\HandshakeProtocol.cs (1)
160responseMessage = new HandshakeResponseMessage(error);
Protocol\HandshakeResponseMessage.cs (1)
14public static readonly HandshakeResponseMessage Empty = new HandshakeResponseMessage(error: null);
Microsoft.AspNetCore.SignalR.Core (7)
HubConnectionContext.cs (7)
521await WriteHandshakeResponseAsync(new HandshakeResponseMessage("Handshake was canceled.")); 548await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.Protocol}' is not supported.")); 555await WriteHandshakeResponseAsync(new HandshakeResponseMessage( 569await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format.")); 613await WriteHandshakeResponseAsync(new HandshakeResponseMessage("Handshake was canceled.")); 636await WriteHandshakeResponseAsync(new HandshakeResponseMessage("Handshake was canceled.")); 643await WriteHandshakeResponseAsync(new HandshakeResponseMessage(errorMessage));