diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-08 15:06:15 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-08 15:06:15 -0400 |
| commit | 55c47e50fc261849c277cb65654d91a8c5a8e308 (patch) | |
| tree | be896dd3acf361492e62f0a86fa5aab17db9903a /MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs | |
| parent | 98992ca580a3e921d57653161c7a27f2442e4dd3 (diff) | |
exclude httplistener from project
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs index 583b8809d..9faf2bc47 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/SharpWebSocket.cs @@ -65,10 +65,17 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp void socket_OnMessage(object sender, SocketHttpListener.MessageEventArgs e) { + //if (!string.IsNullOrWhiteSpace(e.Data)) + //{ + // if (OnReceive != null) + // { + // OnReceive(e.Data); + // } + // return; + //} if (OnReceiveBytes != null) { OnReceiveBytes(e.RawData); - //OnReceive(e.Data); } } |
