#pragma warning disable SA1649 // File name must equal class name.
using System;
namespace MediaBrowser.Controller.Net.WebSocketMessages;
///
/// Outbound websocket message with data.
///
/// The data type.
public class OutboundWebSocketMessage : WebSocketMessage, IOutboundWebSocketMessage
{
///
/// Initializes a new instance of the class.
///
public OutboundWebSocketMessage()
{
}
///
/// Initializes a new instance of the class.
///
/// The data to send.
protected OutboundWebSocketMessage(T data)
{
Data = data;
}
///
/// Gets or sets the message id.
///
public Guid MessageId { get; set; } = Guid.NewGuid();
}