1 override of HubProtocol
Microsoft.AspNetCore.Components.Server.Tests (1)
BlazorPack\BlazorPackHubProtocolTest.cs (1)
11protected override IHubProtocol HubProtocol { get; } = new BlazorPackHubProtocol();
6 references to HubProtocol
Microsoft.AspNetCore.Components.Server.Tests (6)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (6)
230Assert.True(HubProtocol.TryParseMessage(ref data, new TestBinder(testData.Message), out var message)); 255Assert.True(HubProtocol.TryParseMessage(ref data, new TestBinder(expectedMessage), out var message)); 364var exception = Assert.Throws<InvalidDataException>(() => HubProtocol.TryParseMessage(ref data, binder, out _)); 397HubProtocol.TryParseMessage(ref data, binder, out var message); 408var result = HubProtocol.TryParseMessage(ref data, binder, out var message); 504HubProtocol.WriteMessage(message, writer);