24 references to JsonHubProtocol
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (2)
47protocol ??= new JsonHubProtocol(); 3038{ "json", new JsonHubProtocol() },
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\JsonHubProtocolTests.cs (1)
24protected override IHubProtocol JsonHubProtocol => new JsonHubProtocol();
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
HubProtocolBenchmark.cs (1)
32_hubProtocol = new JsonHubProtocol();
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\HubConnectionContextUtils.cs (1)
26Protocol = protocol ?? new JsonHubProtocol(),
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (3)
DefaultHubMessageSerializerTests.cs (3)
24var resolver = CreateHubProtocolResolver(new List<IHubProtocol> { new MessagePackHubProtocol(), new JsonHubProtocol() }); 44var resolver = CreateHubProtocolResolver(new List<IHubProtocol> { new MessagePackHubProtocol(), new JsonHubProtocol() }); 83new List<IHubProtocol>() { new MessagePackHubProtocol(), new JsonHubProtocol() },
Microsoft.AspNetCore.SignalR.Tests (15)
HubConnectionHandlerTests.ClientResult.cs (1)
351hubProtocol = new JsonHubProtocol();
HubConnectionHandlerTests.cs (2)
3021using (var client = new TestClient(new JsonHubProtocol())) 3080using (var client = new TestClient(new JsonHubProtocol()))
Internal\MessageBufferTests.cs (12)
20var protocol = new JsonHubProtocol(); 48var protocol = new JsonHubProtocol(); 85var protocol = new JsonHubProtocol(); 126var protocol = new JsonHubProtocol(); 175var protocol = new JsonHubProtocol(); 219var protocol = new JsonHubProtocol(); 243var protocol = new JsonHubProtocol(); 286var protocol = new JsonHubProtocol(); 323var protocol = new JsonHubProtocol(); 365var protocol = new JsonHubProtocol(); 402var protocol = new JsonHubProtocol(); 444var protocol = new JsonHubProtocol();
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
HubConnectionContextUtils.cs (1)
26Protocol = protocol ?? new JsonHubProtocol(),