1 write to Version
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeRequestMessage.cs (1)
19
Version
= version;
8 references to Version
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeProtocol.cs (1)
66
writer.WriteNumber(ProtocolVersionPropertyNameBytes, requestMessage.
Version
);
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\HandshakeProtocolTests.cs (2)
31
Assert.Equal(version, deserializedMessage.
Version
);
42
Assert.Equal(1, deserializedMessage.
Version
);
Microsoft.AspNetCore.SignalR.Core (5)
HubConnectionContext.cs (5)
552
if (!Protocol.IsVersionSupported(handshakeRequestMessage.
Version
))
554
Log.ProtocolVersionFailed(_logger, handshakeRequestMessage.Protocol, handshakeRequestMessage.
Version
);
556
$"The server does not support version {handshakeRequestMessage.
Version
} of the '{handshakeRequestMessage.Protocol}' protocol."));
590
if (handshakeRequestMessage.
Version
< 2)
592
Log.DisablingReconnect(_logger, handshakeRequestMessage.Protocol, handshakeRequestMessage.
Version
);