aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net/IWebSocketManager.cs
blob: bb0ae83bea036730f77fe0ae85eb2b0b7b315fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;

namespace MediaBrowser.Controller.Net
{
    /// <summary>
    /// Interface IHttpServer.
    /// </summary>
    public interface IWebSocketManager
    {
        /// <summary>
        /// The HTTP request handler.
        /// </summary>
        /// <param name="context">The current HTTP context.</param>
        /// <returns>The task.</returns>
        Task WebSocketRequestHandler(HttpContext context);
    }
}