41 references to ConnectAsync
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrClientWebSocketFactory.cs (1)
34await webSocket.ConnectAsync(address, cancelToken);
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (4)
70await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketLifetimeEvents"), default); 83await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketReadBeforeUpgrade"), default); 95await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketEcho"), default); 113await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketAllowCompression"), default);
IISExpress.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (4)
70await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketLifetimeEvents"), default); 83await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketReadBeforeUpgrade"), default); 95await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketEcho"), default); 113await cws.ConnectAsync(new Uri(webSocketUri + "WebSocketAllowCompression"), default);
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\WebSocketsTransport.cs (1)
275await webSocket.ConnectAsync(url, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.Http.Connections.Tests (1)
MapConnectionHandlerTests.cs (1)
402await client.ConnectAsync(new Uri(address), CancellationToken.None);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (5)
HubConnectionTests.cs (5)
2568await websocket.ConnectAsync(context.Uri, token); 2625await websocket.ConnectAsync(context.Uri, token); 2700await websocket.ConnectAsync(context.Uri, token); 2766await ws.ConnectAsync(context.Uri, token); 2871await websocket.ConnectAsync(context.Uri, token);
Microsoft.AspNetCore.SignalR.Tests (2)
EndToEndTests.cs (2)
100await ws.ConnectAsync(new Uri(socketUrl), CancellationToken.None).DefaultTimeout(); 138await ws.ConnectAsync(new Uri(socketUrl), CancellationToken.None).DefaultTimeout();
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
252await client.ConnectAsync(destinationUri, cancellationToken);
Microsoft.AspNetCore.WebSockets.Tests (21)
WebSocketCompressionMiddlewareTests.cs (1)
142await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None);
WebSocketMiddlewareTests.cs (20)
29await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 49await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 79await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 105await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 130await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 158await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 205await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 231await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 256await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 281await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 316await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 363await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 385await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 421await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 451await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 483await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 558await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 625await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 735await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None); 793await client.ConnectAsync(new Uri($"ws://127.0.0.1:{port}/"), CancellationToken.None);
WebSocketSample (1)
Program.cs (1)
28await ws.ConnectAsync(new Uri(url), CancellationToken.None);