1 write to Protocol
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeRequestMessage.cs (1)
18Protocol = protocol;
8 references to Protocol
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeProtocol.cs (1)
65writer.WriteString(ProtocolPropertyNameBytes, requestMessage.Protocol);
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\HandshakeProtocolTests.cs (2)
30Assert.Equal(protocol, deserializedMessage.Protocol); 41Assert.Equal("json", deserializedMessage.Protocol);
Microsoft.AspNetCore.SignalR.Core (5)
HubConnectionContext.cs (5)
543Protocol = protocolResolver.GetProtocol(handshakeRequestMessage.Protocol, supportedProtocols)!; 548await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.Protocol}' is not supported.")); 554Log.ProtocolVersionFailed(_logger, handshakeRequestMessage.Protocol, handshakeRequestMessage.Version); 556$"The server does not support version {handshakeRequestMessage.Version} of the '{handshakeRequestMessage.Protocol}' protocol.")); 592Log.DisablingReconnect(_logger, handshakeRequestMessage.Protocol, handshakeRequestMessage.Version);