aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-06-29 05:44:36 -0600
committerGitHub <noreply@github.com>2023-06-29 05:44:36 -0600
commitb5bbb98175e0542d43c01f80c15e8dce04e58b53 (patch)
treecd2af363318415710fa97fa5be42075046bcadbc /MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs
parent76939bbd9bebb622759422f262c2490b56ab5a16 (diff)
Fix Websocket OpenApi (#9935)
* Further split inbound and outbound messages * Fix datatype for inbound start messages * fixes from review
Diffstat (limited to 'MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs')
-rw-r--r--MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs b/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs
index e35a5dc3a..a40a0c79e 100644
--- a/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs
+++ b/MediaBrowser.Controller/Net/WebSocketMessages/Inbound/SessionsStartMessage.cs
@@ -1,19 +1,19 @@
using System.ComponentModel;
-using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Session;
namespace MediaBrowser.Controller.Net.WebSocketMessages.Inbound;
/// <summary>
/// Sessions start message.
+/// Data is the timing data encoded as "$initialDelay,$interval" in ms.
/// </summary>
-public class SessionsStartMessage : WebSocketMessage<SessionInfo>, IInboundWebSocketMessage
+public class SessionsStartMessage : InboundWebSocketMessage<string>
{
/// <summary>
/// Initializes a new instance of the <see cref="SessionsStartMessage"/> class.
/// </summary>
- /// <param name="data">Session info.</param>
- public SessionsStartMessage(SessionInfo data)
+ /// <param name="data">The timing data encoded as $initialDelay,$interval.</param>
+ public SessionsStartMessage(string data)
: base(data)
{
}