diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-01-08 18:10:17 +0100 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2020-01-08 18:10:17 +0100 |
| commit | c3752b1a3080f6f54c77a436c7d0b309792b8872 (patch) | |
| tree | c762d033f487407f483b03e2f16ac7bec44ad22c /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | 9dfafb9e9fcddb253b157fe03b085b7fceef4290 (diff) | |
| parent | 124a852787ff94201de452a952eb31376beafe12 (diff) | |
Merge branch 'master' into scanerrors
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Controller/IServerApplicationHost.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs index b3c56bdd5..25f0905eb 100644 --- a/MediaBrowser.Controller/IServerApplicationHost.cs +++ b/MediaBrowser.Controller/IServerApplicationHost.cs @@ -71,13 +71,15 @@ namespace MediaBrowser.Controller /// <summary> /// Gets the local API URL. /// </summary> - /// <param name="host">The host.</param> - /// <returns>System.String.</returns> - string GetLocalApiUrl(string host); + /// <param name="hostname">The hostname.</param> + /// <returns>The local API URL.</returns> + string GetLocalApiUrl(ReadOnlySpan<char> hostname); /// <summary> /// Gets the local API URL. /// </summary> + /// <param name="address">The IP address.</param> + /// <returns>The local API URL.</returns> string GetLocalApiUrl(IPAddress address); void LaunchUrl(string url); |
