using System.Text.Json.Serialization;
using MediaBrowser.Model.Session;
namespace MediaBrowser.Controller.Net;
///
/// Websocket message without data.
///
public abstract class WebSocketMessage
{
///
/// Gets or sets the type of the message.
/// TODO make this abstract and get only.
///
public virtual SessionMessageType MessageType { get; set; }
///
/// Gets or sets the server id.
///
[JsonIgnore]
public string? ServerId { get; set; }
}