Move HttpListenerHost middleware up the pipeline

This commit is contained in:
Claus Vium
2020-09-03 00:31:42 +02:00
parent b9cd6a125b
commit 5813f8073c
5 changed files with 85 additions and 318 deletions

View File

@@ -35,9 +35,10 @@ namespace MediaBrowser.Controller.Net
/// <summary>
/// The HTTP request handler.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Task RequestHandler(HttpContext context);
/// <param name="context">The current HTTP context.</param>
/// <param name="next">The next middleware in the ASP.NET pipeline.</param>
/// <returns>The task.</returns>
Task RequestHandler(HttpContext context, Func<Task> next);
/// <summary>
/// Get the default CORS headers.