You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
733 B
27 lines
733 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using Jellyfin.Data.Events;
|
||
|
using Microsoft.AspNetCore.Http;
|
||
|
|
||
|
namespace MediaBrowser.Controller.Net
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Interface IHttpServer.
|
||
|
/// </summary>
|
||
|
public interface IWebSocketManager
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Occurs when [web socket connected].
|
||
|
/// </summary>
|
||
|
event EventHandler<GenericEventArgs<IWebSocketConnection>> WebSocketConnected;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The HTTP request handler.
|
||
|
/// </summary>
|
||
|
/// <param name="context">The current HTTP context.</param>
|
||
|
/// <returns>The task.</returns>
|
||
|
Task WebSocketRequestHandler(HttpContext context);
|
||
|
}
|
||
|
}
|