Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url

This commit is contained in:
Claus Vium
2021-10-25 22:41:32 +02:00
committed by GitHub
5 changed files with 29 additions and 11 deletions

View File

@@ -50,11 +50,11 @@ namespace MediaBrowser.Controller
/// <summary>
/// Gets the system info.
/// </summary>
/// <param name="source">The originator of the request.</param>
/// <param name="request">The HTTP request.</param>
/// <returns>SystemInfo.</returns>
SystemInfo GetSystemInfo(IPAddress source);
SystemInfo GetSystemInfo(HttpRequest request);
PublicSystemInfo GetPublicSystemInfo(IPAddress address);
PublicSystemInfo GetPublicSystemInfo(HttpRequest request);
/// <summary>
/// Gets a URL specific for the request.