9 references to ConnectAsync
Microsoft.AspNetCore.SignalR.Client.Tests (1)
TestServerTests.cs (1)
50return await wsClient.ConnectAsync(context.Uri, default);
Microsoft.AspNetCore.TestHost.Tests (8)
TestClientTests.cs (5)
615var clientSocket = await client.ConnectAsync(new System.Uri("http://localhost"), CancellationToken.None); 682var clientSocket = await client.ConnectAsync(new Uri("wss://localhost"), CancellationToken.None); 734await Assert.ThrowsAnyAsync<OperationCanceledException>(async () => await client.ConnectAsync(new Uri("http://localhost"), tokenSource.Token)); 774var clientSocket = await client.ConnectAsync(new System.Uri("http://localhost"), CancellationToken.None); 807var clientSocket = await client.ConnectAsync(new System.Uri("http://localhost"), CancellationToken.None);
WebSocketClientTests.cs (3)
41await client.ConnectAsync( 81using var socket = await client.ConnectAsync( 117using var socket = await client.ConnectAsync(