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 /Emby.Server.Implementations/Session | |
| 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 'Emby.Server.Implementations/Session')
| -rw-r--r-- | Emby.Server.Implementations/Session/WebSocketController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Session/WebSocketController.cs b/Emby.Server.Implementations/Session/WebSocketController.cs index cdc736950..cf8e0fb00 100644 --- a/Emby.Server.Implementations/Session/WebSocketController.cs +++ b/Emby.Server.Implementations/Session/WebSocketController.cs @@ -7,8 +7,8 @@ using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Net; +using MediaBrowser.Controller.Net.WebSocketMessages; using MediaBrowser.Controller.Session; -using MediaBrowser.Model.Net; using MediaBrowser.Model.Session; using Microsoft.Extensions.Logging; @@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.Session } return socket.SendAsync( - new WebSocketMessage<T> + new OutboundWebSocketMessage<T> { Data = data, MessageType = name, |
