8 references to WriteHandshakeResponseAsync
Microsoft.AspNetCore.SignalR.Core (8)
HubConnectionContext.cs (8)
563
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
590
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.Protocol}' is not supported."));
597
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(
611
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format."));
648
await
WriteHandshakeResponseAsync
(HandshakeResponseMessage.Empty);
655
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
678
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
685
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(errorMessage));