diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-06-29 05:44:36 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-29 05:44:36 -0600 |
| commit | b5bbb98175e0542d43c01f80c15e8dce04e58b53 (patch) | |
| tree | cd2af363318415710fa97fa5be42075046bcadbc /MediaBrowser.Controller/Net/WebSocketMessages/Shared/KeepAliveMessage.cs | |
| parent | 76939bbd9bebb622759422f262c2490b56ab5a16 (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/Shared/KeepAliveMessage.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/WebSocketMessages/Shared/KeepAliveMessage.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/MediaBrowser.Controller/Net/WebSocketMessages/Shared/KeepAliveMessage.cs b/MediaBrowser.Controller/Net/WebSocketMessages/Shared/KeepAliveMessage.cs deleted file mode 100644 index 7f636212c..000000000 --- a/MediaBrowser.Controller/Net/WebSocketMessages/Shared/KeepAliveMessage.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.ComponentModel; -using MediaBrowser.Model.Session; - -namespace MediaBrowser.Controller.Net.WebSocketMessages.Shared; - -/// <summary> -/// Keep alive websocket messages. -/// </summary> -public class KeepAliveMessage : WebSocketMessage<int>, IInboundWebSocketMessage, IOutboundWebSocketMessage -{ - /// <summary> - /// Initializes a new instance of the <see cref="KeepAliveMessage"/> class. - /// </summary> - /// <param name="data">The seconds to keep alive for.</param> - public KeepAliveMessage(int data) - : base(data) - { - } - - /// <inheritdoc /> - [DefaultValue(SessionMessageType.KeepAlive)] - public override SessionMessageType MessageType => SessionMessageType.KeepAlive; -} |
