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