8 references to WriteHandshakeResponseAsync
Microsoft.AspNetCore.SignalR.Core (8)
HubConnectionContext.cs (8)
558
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
585
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.Protocol}' is not supported."));
592
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(
606
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format."));
643
await
WriteHandshakeResponseAsync
(HandshakeResponseMessage.Empty);
650
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
673
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage("Handshake was canceled."));
680
await
WriteHandshakeResponseAsync
(new HandshakeResponseMessage(errorMessage));