13 implementations of IsVersionSupported
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
33public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubProtocolVersionTests.cs (1)
216public bool IsVersionSupported(int version)
VersionJsonHubProtocol.cs (1)
81public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.cs (1)
991public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
DefaultHubDispatcherBenchmark.cs (1)
62public bool IsVersionSupported(int version)
RedisHubLifetimeManagerBenchmark.cs (1)
201public bool IsVersionSupported(int version)
RedisProtocolBenchmark.cs (1)
138public bool IsVersionSupported(int version) => true;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
83public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocol.cs (1)
54public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
73public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
DefaultHubMessageSerializerTests.cs (1)
150public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
341public bool IsVersionSupported(int version)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
DummyHubProtocol.cs (1)
58public bool IsVersionSupported(int version)
4 references to IsVersionSupported
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
501if (statefulReconnectFeature is null && _protocol.IsVersionSupported(1))
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
552if (!Protocol.IsVersionSupported(handshakeRequestMessage.Version))
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisHubLifetimeManagerBenchmark.cs (1)
203return _innerProtocol.IsVersionSupported(version);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
3895testProtocol.Setup(m => m.IsVersionSupported(It.IsAny<int>())).Returns(true);