29 references to NewtonsoftJsonHubProtocol
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (1)
3039{ "newtonsoft-json", new NewtonsoftJsonHubProtocol() },
VersionJsonHubProtocol.cs (1)
22_innerProtocol = new NewtonsoftJsonHubProtocol();
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\NewtonsoftJsonHubProtocolTests.cs (1)
23protected override IHubProtocol JsonHubProtocol => new NewtonsoftJsonHubProtocol();
Microsoft.AspNetCore.SignalR.Microbenchmarks (8)
BroadcastBenchmark.cs (1)
34protocol = new NewtonsoftJsonHubProtocol();
DefaultHubLifetimeManagerBenchmark.cs (1)
31var jsonHubProtocol = new NewtonsoftJsonHubProtocol();
HubConnectionContextBenchmark.cs (1)
48_successHubProtocolResolver = new TestHubProtocolResolver(new NewtonsoftJsonHubProtocol());
HubConnectionReceiveBenchmark.cs (1)
65hubProtocol = new NewtonsoftJsonHubProtocol();
HubProtocolBenchmark.cs (1)
35_hubProtocol = new NewtonsoftJsonHubProtocol();
RedisHubLifetimeManagerBenchmark.cs (1)
98? new WrappedHubProtocol($"json_{i}", new NewtonsoftJsonHubProtocol())
ServerSentEventsBenchmark.cs (2)
30protocol = new NewtonsoftJsonHubProtocol(); 35protocol = new NewtonsoftJsonHubProtocol
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
62_protocol = protocol ?? new NewtonsoftJsonHubProtocol();
Microsoft.AspNetCore.SignalR.Tests (15)
HubConnectionHandlerTests.cs (11)
2131using (var client1 = new TestClient(protocol: new NewtonsoftJsonHubProtocol())) 2671using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2700using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2747using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2809using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2845using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2878using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 2908using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3107using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3150using (var client = new TestClient(new NewtonsoftJsonHubProtocol())) 3185using (var client = new TestClient(new NewtonsoftJsonHubProtocol()))
Internal\DefaultHubProtocolResolverTests.cs (4)
75var jsonProtocol1 = new NewtonsoftJsonHubProtocol(); 76var jsonProtocol2 = new NewtonsoftJsonHubProtocol(); 90var jsonProtocol1 = new NewtonsoftJsonHubProtocol(); 91var jsonProtocol2 = new NewtonsoftJsonHubProtocol();
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
HubProtocolHelpers.cs (1)
10private static readonly IHubProtocol NewtonsoftJsonHubProtocol = new NewtonsoftJsonHubProtocol();
TestClient.cs (1)
62_protocol = protocol ?? new NewtonsoftJsonHubProtocol();