1 write to Uri
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
20Uri = uri ?? throw new ArgumentNullException(nameof(uri));
9 references to Uri
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
29public override string ToString() => Uri.ToString();
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnectionFactory.cs (3)
53if (_httpConnectionOptions.Url != null && _httpConnectionOptions.Url != uriEndPoint.Uri) 55throw new InvalidOperationException($"If {nameof(HttpConnectionOptions)}.{nameof(HttpConnectionOptions.Url)} was set, it must match the {nameof(UriEndPoint)}.{nameof(UriEndPoint.Uri)} passed to {nameof(ConnectAsync)}."); 60shallowCopiedOptions.Url = uriEndPoint.Uri;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ListenOptionsTests.cs (1)
73Assert.Equal("http://127.0.0.1:5555/", ((UriEndPoint)listenOptions.EndPoint).Uri.ToString());
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
244_serviceName = (_endPoint is UriEndPoint e) ? e.Uri.AbsolutePath.Trim('/') : null; 1035var initialUri = (_endPoint as UriEndPoint)?.Uri; 2150ConnectionUrl = (connection.RemoteEndPoint is UriEndPoint ep) ? ep.Uri : null;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
HubConnectionTests.cs (1)
78var options = new HttpConnectionOptions { Url = httpEndpoint.Uri, Transports = transportType, DefaultTransferFormat = transferFormat };