18 references to SerializedHubMessage
Microsoft.AspNetCore.SignalR.Core (1)
DefaultHubLifetimeManager.cs (1)
277
return new
SerializedHubMessage
(CreateInvocationMessage(methodName, args));
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (3)
RedisProtocolTests.cs (3)
101
() => new RedisInvocation(new
SerializedHubMessage
(_testMessage), null),
111
() => new RedisInvocation(new
SerializedHubMessage
(_testMessage), new [] { "a" }),
122
() => new RedisInvocation(new
SerializedHubMessage
(_testMessage), new [] { "a", "b", "c", "d", "e", "f" }),
Microsoft.AspNetCore.SignalR.Tests (14)
Internal\MessageBufferTests.cs (11)
54
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[100000] })), default);
56
var writeTask = messageBuffer.WriteAsync(new
SerializedHubMessage
(new StreamItemMessage("id", null)), default);
92
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[40] })), default);
95
var writeTask = messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[40] })), default);
292
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { 1 })), default);
294
var writeTask = messageBuffer.WriteAsync(new
SerializedHubMessage
(new StreamItemMessage("id", null)), default);
409
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[10] })), default);
410
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[100] })), default).DefaultTimeout();
411
var writeTask = messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[100] })), default);
452
await messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[10] })), default);
453
var writeTask = messageBuffer.WriteAsync(new
SerializedHubMessage
(new InvocationMessage("t", new object[] { new byte[100] })), default).DefaultTimeout();
SerializedHubMessageTests.cs (3)
19
var message = new
SerializedHubMessage
(invocation);
33
var message = new
SerializedHubMessage
(invocation);
57
var message = new
SerializedHubMessage
(invocation);