aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IServerApplicationHost.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-11-27 11:50:06 +0300
committerGitHub <noreply@github.com>2019-11-27 11:50:06 +0300
commit5263aaa026ed9789e77ba2dee4b9e15077dcea7a (patch)
tree8f82e91993c393ba2eda2815f19389eccfcc75b0 /MediaBrowser.Controller/IServerApplicationHost.cs
parentc45d54efb2352a504a66fe5f5b2df01a55cde8f6 (diff)
parent080b1069914cdca8a4e342ce9fa0a58578248420 (diff)
Merge pull request #1503 from cvium/webapi_v2
Move StartupWizard to ASP.NET Web Api
Diffstat (limited to 'MediaBrowser.Controller/IServerApplicationHost.cs')
-rw-r--r--MediaBrowser.Controller/IServerApplicationHost.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/IServerApplicationHost.cs b/MediaBrowser.Controller/IServerApplicationHost.cs
index 61b2c15ae..b3c56bdd5 100644
--- a/MediaBrowser.Controller/IServerApplicationHost.cs
+++ b/MediaBrowser.Controller/IServerApplicationHost.cs
@@ -5,6 +5,7 @@ using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Common;
using MediaBrowser.Model.System;
+using Microsoft.AspNetCore.Http;
namespace MediaBrowser.Controller
{
@@ -87,5 +88,9 @@ namespace MediaBrowser.Controller
string ExpandVirtualPath(string path);
string ReverseVirtualPath(string path);
+
+ Task ExecuteHttpHandlerAsync(HttpContext context, Func<Task> next);
+
+ Task ExecuteWebsocketHandlerAsync(HttpContext context, Func<Task> next);
}
}