4 instantiations of VersionedJsonHubProtocol
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
HubProtocolVersionTests.cs (3)
76
connectionBuilder.Services.AddSingleton<IHubProtocol>(new
VersionedJsonHubProtocol
(1000));
120
connectionBuilder.Services.AddSingleton<IHubProtocol>(new
VersionedJsonHubProtocol
(1000));
175
connectionBuilder.Services.AddSingleton<IHubProtocol>(new SingleVersionHubProtocol(new
VersionedJsonHubProtocol
(int.MaxValue), int.MaxValue));
VersionStartup.cs (1)
24
services.TryAddEnumerable(ServiceDescriptor.Singleton<IHubProtocol>(new
VersionedJsonHubProtocol
(1000)));