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)
540await connection.ReceiveTextAsync("{").DefaultTimeout(); 544await connection.ReceiveTextAsync("}").DefaultTimeout(); 548await connection.ReceiveTextAsync("\u001e").DefaultTimeout(); 573await connection.ReceiveTextAsync(payload).DefaultTimeout(); 602await connection.ReceiveTextAsync("{\"type\":1, ").DefaultTimeout(); 606await connection.ReceiveTextAsync("\"target\": \"Echo\", \"arguments\"").DefaultTimeout(); 610await connection.ReceiveTextAsync(":[\"hello\"]}\u001e").DefaultTimeout(); 689await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 736await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 764await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 793await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 815await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 840await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 865await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[15]}\u001e").DefaultTimeout(); 890await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 920await connection.ReceiveTextAsync("{\"type\":1,\"invocationId\":\"1\",\"target\":\"Result\",\"arguments\":[]}\u001e").DefaultTimeout(); 921await connection.ReceiveTextAsync("{\"type\":1,\"target\":\"Other\",\"arguments\":[]}\u001e").DefaultTimeout();