10 references to CompletionMessage
Microsoft.AspNetCore.Components.Server (1)
src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (1)
210return ApplyHeaders(headers, new CompletionMessage(invocationId, error, result, hasResult));
Microsoft.AspNetCore.SignalR.Common (3)
Protocol\CompletionMessage.cs (3)
66=> new CompletionMessage(invocationId, error, result: null, hasResult: false); 75=> new CompletionMessage(invocationId, error: null, result: payload, hasResult: true); 84=> new CompletionMessage(invocationId, error: null, result: null, hasResult: false);
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\JsonHubProtocolTestsBase.cs (1)
106new JsonProtocolTestData("CompletionMessage_ResultFirst", new CompletionMessage("15", null, 10, hasResult: true), false, true, "{ \"type\":3, \"result\": 10, \"invocationId\": \"15\" }"),
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Protocol\JsonHubProtocol.cs (2)
752return new CompletionMessage(invocationId, error, result, hasResult: true); 755return new CompletionMessage(invocationId, error, result: null, hasResult: false);
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocolWorker.cs (1)
210return ApplyHeaders(headers, new CompletionMessage(invocationId, error, result, hasResult));
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (2)
Protocol\NewtonsoftJsonHubProtocol.cs (2)
745return new CompletionMessage(invocationId, error, result, hasResult: true); 748return new CompletionMessage(invocationId, error, result: null, hasResult: false);