Base:
property
JsonHubProtocol
Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol.JsonHubProtocolTestsBase.JsonHubProtocol
8 references to JsonHubProtocol
Microsoft.AspNetCore.SignalR.Common.Tests (8)
Internal\Protocol\JsonHubProtocolTests.cs (8)
54var ex = Assert.Throws<InvalidDataException>(() => JsonHubProtocol.TryParseMessage(ref data, binder, out var _)); 105JsonHubProtocol.TryParseMessage(ref data, binder, out var message); 124JsonHubProtocol.WriteMessage(new InvocationMessage("method", new[] { todo }), writer); 131Assert.True(JsonHubProtocol.TryParseMessage(ref data, binder, out var message)); 157JsonHubProtocol.WriteMessage(new StreamItemMessage("1", todo), writer); 164Assert.True(JsonHubProtocol.TryParseMessage(ref data, binder, out var message)); 190JsonHubProtocol.WriteMessage(CompletionMessage.WithResult("1", todo), writer); 197Assert.True(JsonHubProtocol.TryParseMessage(ref data, binder, out var message));