You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
768 B
32 lines
768 B
#nullable disable
|
|
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Model.Net
|
|
{
|
|
/// <summary>
|
|
/// Class WebSocketMessage.
|
|
/// </summary>
|
|
/// <typeparam name="T">The type of the data.</typeparam>
|
|
public class WebSocketMessage<T>
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the type of the message.
|
|
/// </summary>
|
|
/// <value>The type of the message.</value>
|
|
public SessionMessageType 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; }
|
|
}
|
|
}
|