13 implementations of Version
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
27public int Version => ProtocolVersion;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubProtocolVersionTests.cs (1)
210public int Version => _version;
VersionJsonHubProtocol.cs (1)
26public int Version => _version;
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.cs (1)
986public int Version => 1;
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
DefaultHubDispatcherBenchmark.cs (1)
58public int Version => 1;
RedisHubLifetimeManagerBenchmark.cs (1)
176public int Version => _innerProtocol.Version;
RedisProtocolBenchmark.cs (1)
128public int Version => 1;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
77public int Version => ProtocolVersion;
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocol.cs (1)
30public int Version => ProtocolVersion;
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
67public int Version => ProtocolVersion;
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
DefaultHubMessageSerializerTests.cs (1)
141public int Version => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
332public int Version => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
DummyHubProtocol.cs (1)
19public int Version => 1;
7 references to Version
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
492var usedProtocolVersion = _protocol.Version; 500else if (_protocol.Version < 2) 504Log.DisablingReconnect(_logger, _protocol.Name, _protocol.Version);
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisHubLifetimeManagerBenchmark.cs (1)
176public int Version => _innerProtocol.Version;
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
334HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(_protocol.Name, _protocol.Version), memoryBufferWriter);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
640hubProtocolMock.Setup(m => m.Version).Returns(9001);
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
334HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(_protocol.Name, _protocol.Version), memoryBufferWriter);