2020-02-03 19:49:27 -05:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
#pragma warning disable SA1600
|
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
namespace MediaBrowser.Model.Net
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-02-03 19:49:27 -05:00
|
|
|
/// Class WebSocketMessage.
|
2018-12-27 18:27:57 -05:00
|
|
|
/// </summary>
|
|
|
|
/// <typeparam name="T"></typeparam>
|
|
|
|
public class WebSocketMessage<T>
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the type of the message.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The type of the message.</value>
|
|
|
|
public string MessageType { get; set; }
|
|
|
|
public string MessageId { get; set; }
|
|
|
|
public string ServerId { get; set; }
|
2020-02-03 19:49:27 -05:00
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the data.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The data.</value>
|
|
|
|
public T Data { get; set; }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|