10 references to RedisProtocol
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisProtocolBenchmark.cs (1)
34_protocol = new RedisProtocol(new DefaultHubMessageSerializer(resolver, new List<string>() { "protocol1", "protocol2" }, hubSupportedProtocols: null));
Microsoft.AspNetCore.SignalR.StackExchangeRedis (2)
RedisHubLifetimeManager.cs (2)
78_protocol = new RedisProtocol(new DefaultHubMessageSerializer(hubProtocolResolver, globalHubOptions.Value.SupportedProtocols, hubOptions.Value.SupportedProtocols)); 83_protocol = new RedisProtocol(new DefaultHubMessageSerializer(hubProtocolResolver, supportedProtocols, null));
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (7)
RedisProtocolTests.cs (7)
38var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>())); 50var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>())); 70var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>())); 86var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>())); 146var protocol = new RedisProtocol(CreateHubMessageSerializer(hubProtocols.Cast<IHubProtocol>().ToList())); 177var protocol = new RedisProtocol(CreateHubMessageSerializer(new List<IHubProtocol>() { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") })); 193var protocol = new RedisProtocol(hubMessageSerializer);