1 write to Uri
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
20Uri = uri ?? throw new ArgumentNullException(nameof(uri));
7 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.SignalR.Client.Core (3)
HubConnection.cs (3)
256_serviceName = (_endPoint is UriEndPoint e) ? e.Uri.AbsolutePath.Trim('/') : null; 1168var initialUri = (_endPoint as UriEndPoint)?.Uri; 2334ConnectionUrl = (connection.RemoteEndPoint is UriEndPoint ep) ? ep.Uri : null;