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)
54
var ex = Assert.Throws<InvalidDataException>(() =>
JsonHubProtocol
.TryParseMessage(ref data, binder, out var _));
105
JsonHubProtocol
.TryParseMessage(ref data, binder, out var message);
124
JsonHubProtocol
.WriteMessage(new InvocationMessage("method", new[] { todo }), writer);
131
Assert.True(
JsonHubProtocol
.TryParseMessage(ref data, binder, out var message));
157
JsonHubProtocol
.WriteMessage(new StreamItemMessage("1", todo), writer);
164
Assert.True(
JsonHubProtocol
.TryParseMessage(ref data, binder, out var message));
190
JsonHubProtocol
.WriteMessage(CompletionMessage.WithResult("1", todo), writer);
197
Assert.True(
JsonHubProtocol
.TryParseMessage(ref data, binder, out var message));