mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
24 lines
769 B
C#
24 lines
769 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using MediaBrowser.Model.Session;
|
|
|
|
namespace MediaBrowser.Controller.Net.WebSocketMessages.Outbound;
|
|
|
|
/// <summary>
|
|
/// Refresh progress message.
|
|
/// </summary>
|
|
public class RefreshProgressMessage : OutboundWebSocketMessage<Dictionary<string, string>>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="RefreshProgressMessage"/> class.
|
|
/// </summary>
|
|
/// <param name="data">Refresh progress data.</param>
|
|
public RefreshProgressMessage(Dictionary<string, string> data)
|
|
: base(data)
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
[DefaultValue(SessionMessageType.RefreshProgress)]
|
|
public override SessionMessageType MessageType => SessionMessageType.RefreshProgress;
|
|
}
|