27 references to Empty
Microsoft.AspNetCore.Components.Server.Tests (3)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
121message: CompletionMessage.Empty("xyz"), 125message: AddHeaders(TestHeaders, CompletionMessage.Empty("xyz")), 424new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 7),
Microsoft.AspNetCore.SignalR.Common.Tests (6)
Internal\Protocol\JsonHubProtocolTestsBase.cs (3)
60new JsonProtocolTestData("CompletionMessage_HasErrorAndCamelCase", CompletionMessage.Empty("123"), true, true, "{\"type\":3,\"invocationId\":\"123\"}"), 62new JsonProtocolTestData("CompletionMessage_HasErrorAndHeadersAndCamelCase", AddHeaders(TestHeaders, CompletionMessage.Empty("123")), true, true, "{\"type\":3," + SerializedHeaders + ",\"invocationId\":\"123\"}"), 372new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 30),
Internal\Protocol\MessagePackHubProtocolTestBase.cs (3)
121message: CompletionMessage.Empty("xyz"), 125message: AddHeaders(TestHeaders, CompletionMessage.Empty("xyz")), 424new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 7),
Microsoft.AspNetCore.SignalR.Core (1)
Internal\DefaultHubDispatcher.cs (1)
499connection.StreamTracker.TryComplete(CompletionMessage.Empty(stream));
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
DefaultHubDispatcherBenchmark.cs (4)
346await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1")); 357await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1")); 371await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1")); 385await _dispatcher.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1"));
Microsoft.AspNetCore.SignalR.Tests (13)
HubConnectionHandlerTests.cs (13)
2030HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.Empty(string.Empty), messages[4]); 3633await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 3657await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 3696await client.SendHubMessageAsync(CompletionMessage.Empty(id)).DefaultTimeout(); 3752await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 3784await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 3879await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 3976await client.SendHubMessageAsync(CompletionMessage.Empty("fake_id")).DefaultTimeout(); 4066await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 4110await client.SendHubMessageAsync(CompletionMessage.Empty("id")).DefaultTimeout(); 4428await client.SendHubMessageAsync(CompletionMessage.Empty(streamId)); 4494HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.Empty(string.Empty), messages[1]); 4721await client.SendHubMessageAsync(CompletionMessage.Empty("1")).DefaultTimeout();