8 references to WriteHandshakeResponseAsync
Microsoft.AspNetCore.SignalR.Core (8)
HubConnectionContext.cs (8)
631
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
658
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.Protocol}' is not supported."));
665
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(
679
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format."));
717
await
WriteHandshakeResponseAsync
(HandshakeResponseMessage.Empty);
724
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
747
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
754
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(errorMessage));