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)
38
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(new List<IHubProtocol>()));
50
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(new List<IHubProtocol>()));
70
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(new List<IHubProtocol>()));
86
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(new List<IHubProtocol>()));
146
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(hubProtocols.Cast<IHubProtocol>().ToList()));
177
var protocol = new
RedisProtocol
(CreateHubMessageSerializer(new List<IHubProtocol>() { new DummyHubProtocol("p1"), new DummyHubProtocol("p2") }));
193
var protocol = new
RedisProtocol
(hubMessageSerializer);