1 write to Uri
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
20
Uri
= uri ?? throw new ArgumentNullException(nameof(uri));
7 references to Uri
Microsoft.AspNetCore.Connections.Abstractions (1)
UriEndPoint.cs (1)
29
public override string ToString() =>
Uri
.ToString();
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnectionFactory.cs (3)
53
if (_httpConnectionOptions.Url != null && _httpConnectionOptions.Url != uriEndPoint.
Uri
)
55
throw new InvalidOperationException($"If {nameof(HttpConnectionOptions)}.{nameof(HttpConnectionOptions.Url)} was set, it must match the {nameof(UriEndPoint)}.{nameof(UriEndPoint.
Uri
)} passed to {nameof(ConnectAsync)}.");
60
shallowCopiedOptions.Url = uriEndPoint.
Uri
;
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (3)
256
_serviceName = (_endPoint is UriEndPoint e) ? e.
Uri
.AbsolutePath.Trim('/') : null;
1168
var initialUri = (_endPoint as UriEndPoint)?.
Uri
;
2334
ConnectionUrl = (connection.RemoteEndPoint is UriEndPoint ep) ? ep.
Uri
: null;