18 references to ReceiveTextAsync
Microsoft.AspNetCore.SignalR.Client.Tests (18)
HubConnectionTests.cs (1)
822await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout();
HubConnectionTests.Protocol.cs (17)
572await connection.ReceiveTextAsync("{").DefaultTimeout(); 576await connection.ReceiveTextAsync("}").DefaultTimeout(); 580await connection.ReceiveTextAsync("\u001e").DefaultTimeout(); 605await connection.ReceiveTextAsync(payload).DefaultTimeout(); 634await connection.ReceiveTextAsync("{\"type\":1, ").DefaultTimeout(); 638await connection.ReceiveTextAsync("\"target\": \"Echo\", \"arguments\"").DefaultTimeout(); 642await connection.ReceiveTextAsync(":[\"hello\"]}\u001e").DefaultTimeout(); 721await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 768await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 796await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 825await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 847await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 872await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 897await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[15]}\u001e").DefaultTimeout(); 922await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 952await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 953await connection.ReceiveTextAsync("{\"type\":1,\"target\":\"Other\",\"arguments\":[]}\u001e").DefaultTimeout();