10 references to UriEndPoint
Microsoft.AspNetCore.Http.Connections.Client (2)
HttpConnection.cs (2)
355
RemoteEndPoint = new
UriEndPoint
(Utils.CreateEndPointUri(uri));
411
RemoteEndPoint = new
UriEndPoint
(Utils.CreateEndPointUri(uri));
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
KestrelServerTests.cs (1)
425
var customEndpoint = new
UriEndPoint
(new("http://localhost:5000"));
ListenOptionsTests.cs (1)
71
var listenOptions = new ListenOptions(new
UriEndPoint
(new Uri("http://127.0.0.1:5555")));
Microsoft.AspNetCore.SignalR.Client (1)
HubConnectionBuilderHttpExtensions.cs (1)
171
:
base
(httpConnectionOptions.Value.Url!)
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HttpConnectionFactoryTests.cs (2)
40
await Assert.ThrowsAnyAsync<Exception>(async () => await factory.ConnectAsync(new
UriEndPoint
(new Uri("http://example.com"))));
72
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await factory.ConnectAsync(new
UriEndPoint
(url2)));
HubConnectionTests.Tracing.cs (2)
147
connection.RemoteEndPoint = new
UriEndPoint
(new Uri("http://example.net"));
187
connection.RemoteEndPoint = new
UriEndPoint
(new Uri("http://example.net:5050"));
Sockets.BindTests (1)
SocketTransportFactoryTests.cs (1)
21
await Assert.ThrowsAsync<NotImplementedException>(async () => await socketTransportFactory.BindAsync(new
UriEndPoint
(new Uri("http://127.0.0.1:5554"))));