Implemented interface member:
method
ConnectAsync
Microsoft.AspNetCore.Connections.IConnectionFactory.ConnectAsync(System.Net.EndPoint, System.Threading.CancellationToken)
3 references to ConnectAsync
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HttpConnectionFactoryTests.cs (3)
40
await Assert.ThrowsAnyAsync<Exception>(async () => await factory.
ConnectAsync
(new UriEndPoint(new Uri("http://example.com"))));
53
var ex = await Assert.ThrowsAsync<NotSupportedException>(async () => await factory.
ConnectAsync
(new IPEndPoint(IPAddress.Loopback, 0)));
72
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await factory.
ConnectAsync
(new UriEndPoint(url2)));