namespace Emby.Server.Implementations.Session { using System.Threading.Tasks; using Jellyfin.Data.Events; using MediaBrowser.Controller.Net; /// /// Defines the . /// public interface ISessionWebSocketListener { /// /// Runs processes due to a WebSocket connection event. /// /// The instance. void ProcessWebSocketConnected(IWebSocketConnection websocketConnection); /// /// Disposes the object. /// void Dispose(); /// /// Processes a message. /// /// The . /// A . Task ProcessMessageAsync(WebSocketMessageInfo message); } }