9 references to HandshakeResponseMessage
Microsoft.AspNetCore.SignalR.Common (2)
Protocol\HandshakeProtocol.cs (1)
160
responseMessage = new
HandshakeResponseMessage
(error);
Protocol\HandshakeResponseMessage.cs (1)
14
public static readonly HandshakeResponseMessage Empty = new
HandshakeResponseMessage
(error: null);
Microsoft.AspNetCore.SignalR.Core (7)
HubConnectionContext.cs (7)
635
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
("Handshake was canceled."));
662
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
($"The protocol '{handshakeRequestMessage.Protocol}' is not supported."));
669
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
(
683
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format."));
728
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
("Handshake was canceled."));
751
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
("Handshake was canceled."));
758
await WriteHandshakeResponseAsync(new
HandshakeResponseMessage
(errorMessage));