IWebSocketManager.cs 476 B

123456789101112131415161718
  1. using System.Threading.Tasks;
  2. using Microsoft.AspNetCore.Http;
  3. namespace MediaBrowser.Controller.Net
  4. {
  5. /// <summary>
  6. /// Interface IHttpServer.
  7. /// </summary>
  8. public interface IWebSocketManager
  9. {
  10. /// <summary>
  11. /// The HTTP request handler.
  12. /// </summary>
  13. /// <param name="context">The current HTTP context.</param>
  14. /// <returns>The task.</returns>
  15. Task WebSocketRequestHandler(HttpContext context);
  16. }
  17. }