15 references to MessagePackHubProtocol
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubConnectionTests.cs (1)
3040{ "messagepack", new MessagePackHubProtocol() },
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\MessagePackHubProtocolTests.cs (1)
14protected override IHubProtocol HubProtocol => new MessagePackHubProtocol();
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
BroadcastBenchmark.cs (1)
38protocol = new MessagePackHubProtocol();
HubConnectionReceiveBenchmark.cs (1)
69hubProtocol = new MessagePackHubProtocol();
HubProtocolBenchmark.cs (1)
29_hubProtocol = new MessagePackHubProtocol();
RedisHubLifetimeManagerBenchmark.cs (1)
99: new WrappedHubProtocol($"messagepack_{i}", new MessagePackHubProtocol());
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
DefaultHubMessageSerializerTests.cs (5)
24var resolver = CreateHubProtocolResolver(new List<IHubProtocol> { new MessagePackHubProtocol(), new JsonHubProtocol() }); 44var resolver = CreateHubProtocolResolver(new List<IHubProtocol> { new MessagePackHubProtocol(), new JsonHubProtocol() }); 71new List<IHubProtocol>() { new MessagePackHubProtocol() }, 83new List<IHubProtocol>() { new MessagePackHubProtocol(), new JsonHubProtocol() }, 100new List<IHubProtocol>() { new MessagePackHubProtocol(), new TestHubProtocol() },
Microsoft.AspNetCore.SignalR.Tests (3)
HubConnectionHandlerTests.ClientResult.cs (1)
347hubProtocol = new MessagePackHubProtocol();
HubConnectionHandlerTests.cs (2)
283using (var client = new TestClient(protocol: new MessagePackHubProtocol())) 2132using (var client2 = new TestClient(protocol: new MessagePackHubProtocol()))
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
HubProtocolHelpers.cs (1)
12private static readonly IHubProtocol MessagePackHubProtocol = new MessagePackHubProtocol();