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