mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-05 21:55:53 +00:00
simplify message parsing
This commit is contained in:
1 parent
5060cd3b82
commit
98992ca580
2 files changed
+14
-13
No files matched your search
@@ -65,9 +65,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
|
||||
|
||||
void socket_OnMessage(object sender, SocketHttpListener.MessageEventArgs e)
|
||||
{
|
||||
if (OnReceive != null)
|
||||
if (OnReceiveBytes != null)
|
||||
{
|
||||
OnReceiveBytes(e.RawData);
|
||||
//OnReceive(e.Data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user