mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
30 lines
684 B
C#
30 lines
684 B
C#
|
|
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
|
|
namespace MediaBrowser.Model.Net
|
|
{
|
|
/// <summary>
|
|
/// Class WebSocketMessage.
|
|
/// </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 Guid MessageId { get; set; }
|
|
|
|
public string ServerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the data.
|
|
/// </summary>
|
|
/// <value>The data.</value>
|
|
public T Data { get; set; }
|
|
}
|
|
}
|