diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-01-09 18:26:22 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-01-09 18:26:22 +0100 |
| commit | b50c4938e19eaa4508dd9192bc63c3788c2fa3eb (patch) | |
| tree | e8a29d7c1ecc22b20287a940d757d635b5208b00 /MediaBrowser.Controller/IServerApplicationHost.cs | |
| parent | a1ca50fd5a74eafa6e609976d90cad42b54137e5 (diff) | |
| parent | 162c1ac7b7fde0e4929cf262b0f275e3eb15524c (diff) | |
Merge branch 'master' into namingtests
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); |
