Moved some web socket classes to the model

This commit is contained in:
Luke Pulverenti
2013-03-25 23:01:47 -04:00
parent 3a5e1521ed
commit a6c9fdd0f2
13 changed files with 88 additions and 72 deletions

View File

@@ -4,8 +4,8 @@ using System;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using WebSocketMessageType = MediaBrowser.Common.Net.WebSocketMessageType;
using WebSocketState = MediaBrowser.Common.Net.WebSocketState;
using WebSocketMessageType = MediaBrowser.Model.Net.WebSocketMessageType;
using WebSocketState = MediaBrowser.Model.Net.WebSocketState;
namespace MediaBrowser.Server.Implementations.HttpServer
{
@@ -83,7 +83,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
}
catch (WebSocketException ex)
{
_logger.ErrorException("Error reveiving web socket message", ex);
_logger.ErrorException("Error receiving web socket message", ex);
break;
}