using System.ComponentModel; using MediaBrowser.Model.Session; namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound; /// /// Force keep alive websocket messages. /// public class ForceKeepAliveMessage : OutboundWebSocketMessage { /// /// Initializes a new instance of the class. /// /// The timeout in seconds. public ForceKeepAliveMessage(int data) : base(data) { } /// [DefaultValue(SessionMessageType.ForceKeepAlive)] public override SessionMessageType MessageType => SessionMessageType.ForceKeepAlive; }