1 override of HubProtocol
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\MessagePackHubProtocolTests.cs (1)
14
protected override IHubProtocol
HubProtocol
=> new MessagePackHubProtocol();
6 references to HubProtocol
Microsoft.AspNetCore.SignalR.Common.Tests (6)
Internal\Protocol\MessagePackHubProtocolTestBase.cs (6)
230
Assert.True(
HubProtocol
.TryParseMessage(ref data, new TestBinder(testData.Message), out var message));
255
Assert.True(
HubProtocol
.TryParseMessage(ref data, new TestBinder(expectedMessage), out var message));
364
var exception = Assert.Throws<InvalidDataException>(() =>
HubProtocol
.TryParseMessage(ref data, binder, out _));
397
HubProtocol
.TryParseMessage(ref data, binder, out var message);
408
var result =
HubProtocol
.TryParseMessage(ref data, binder, out var message);
504
HubProtocol
.WriteMessage(message, writer);