mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
25 lines
711 B
C#
25 lines
711 B
C#
|
|
using System.ComponentModel;
|
||
|
|
using MediaBrowser.Controller.Session;
|
||
|
|
using MediaBrowser.Model.Session;
|
||
|
|
|
||
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Sessions message.
|
||
|
|
/// </summary>
|
||
|
|
public class SessionsMessage : WebSocketMessage<SessionInfo>, IOutboundWebSocketMessage
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Initializes a new instance of the <see cref="SessionsMessage"/> class.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="data">Session info.</param>
|
||
|
|
public SessionsMessage(SessionInfo data)
|
||
|
|
: base(data)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
[DefaultValue(SessionMessageType.Sessions)]
|
||
|
|
public override SessionMessageType MessageType => SessionMessageType.Sessions;
|
||
|
|
}
|