#pragma warning disable SA1649 // File name must equal class name.
namespace MediaBrowser.Controller.Net;
///
/// Class WebSocketMessage.
///
/// The type of the data.
public abstract class WebSocketMessage : WebSocketMessage
{
///
/// Initializes a new instance of the class.
///
protected WebSocketMessage()
{
}
///
/// Initializes a new instance of the class.
///
/// The data to send.
protected WebSocketMessage(T data)
{
Data = data;
}
///
/// Gets or sets the data.
///
// TODO make this set only.
public T? Data { get; set; }
}