diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-09-02 23:18:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-02 23:18:32 +0200 |
| commit | 52b34eb407b8028841e70518aafb52b065b9c505 (patch) | |
| tree | dd71bd9795301140a8371463132e2188a9bab5fa /MediaBrowser.Controller/Net/IHttpServer.cs | |
| parent | dcef8636d58064191b7a9c426819c39714b8ca7a (diff) | |
| parent | b9cd6a125bd66fc4edd8f95883af8a3e21df96c6 (diff) | |
Merge pull request #4039 from cvium/remove_shit_and_shit_adjacent_shit
Remove ServiceStack and related stuff
Diffstat (limited to 'MediaBrowser.Controller/Net/IHttpServer.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/IHttpServer.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Net/IHttpServer.cs b/MediaBrowser.Controller/Net/IHttpServer.cs index b04ebda8c..637dd2be3 100644 --- a/MediaBrowser.Controller/Net/IHttpServer.cs +++ b/MediaBrowser.Controller/Net/IHttpServer.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; using Jellyfin.Data.Events; -using MediaBrowser.Model.Services; using Microsoft.AspNetCore.Http; namespace MediaBrowser.Controller.Net @@ -26,7 +25,7 @@ namespace MediaBrowser.Controller.Net /// <summary> /// Inits this instance. /// </summary> - void Init(IEnumerable<Type> serviceTypes, IEnumerable<IWebSocketListener> listener, IEnumerable<string> urlPrefixes); + void Init(IEnumerable<IWebSocketListener> listener, IEnumerable<string> urlPrefixes); /// <summary> /// If set, all requests will respond with this message. @@ -43,8 +42,8 @@ namespace MediaBrowser.Controller.Net /// <summary> /// Get the default CORS headers. /// </summary> - /// <param name="req"></param> - /// <returns></returns> - IDictionary<string, string> GetDefaultCorsHeaders(IRequest req); + /// <param name="httpContext">The HTTP context of the current request.</param> + /// <returns>The default CORS headers for the context.</returns> + IDictionary<string, string> GetDefaultCorsHeaders(HttpContext httpContext); } } |
