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