diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-07-02 16:14:44 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-02 16:14:44 -0600 |
| commit | 52252fcd554a7ac1105374ca6d1b440787820f0a (patch) | |
| tree | d7dd8598fd04dddd3a180e146bb222810a6fd4c0 /MediaBrowser.Controller/Net/WebSocketMessageOfT.cs | |
| parent | ba8f4757fd1323ab017c3dbf1c9143b256ff428a (diff) | |
Fix sending websocket messages (#9948)
Diffstat (limited to 'MediaBrowser.Controller/Net/WebSocketMessageOfT.cs')
| -rw-r--r-- | MediaBrowser.Controller/Net/WebSocketMessageOfT.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Net/WebSocketMessageOfT.cs b/MediaBrowser.Controller/Net/WebSocketMessageOfT.cs index 7c35c8010..11e5a6bb2 100644 --- a/MediaBrowser.Controller/Net/WebSocketMessageOfT.cs +++ b/MediaBrowser.Controller/Net/WebSocketMessageOfT.cs @@ -6,13 +6,12 @@ namespace MediaBrowser.Controller.Net; /// Class WebSocketMessage. /// </summary> /// <typeparam name="T">The type of the data.</typeparam> -// TODO make this abstract, remove empty ctor. -public class WebSocketMessage<T> : WebSocketMessage +public abstract class WebSocketMessage<T> : WebSocketMessage { /// <summary> /// Initializes a new instance of the <see cref="WebSocketMessage{T}"/> class. /// </summary> - public WebSocketMessage() + protected WebSocketMessage() { } |
