6 references to DefaultHubMessageSerializer
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 (3)
DefaultHubMessageSerializerTests.cs (2)
26
var serializer = new
DefaultHubMessageSerializer
(resolver, protocolNames, hubSupportedProtocols: null);
46
var serializer = new
DefaultHubMessageSerializer
(resolver, new List<string>() { "json" }, new List<string>() { "messagepack" });
RedisProtocolTests.cs (1)
299
return new
DefaultHubMessageSerializer
(protocolResolver, protocols.ConvertAll(p => p.Name), hubSupportedProtocols: null);