From 98e7eeeff933d6f5ba18daecb3931337523dc01b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 5 Sep 2013 17:34:46 -0400 Subject: reduce byte conversions with alchemy web socket --- MediaBrowser.Common/Net/IWebSocket.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'MediaBrowser.Common/Net/IWebSocket.cs') diff --git a/MediaBrowser.Common/Net/IWebSocket.cs b/MediaBrowser.Common/Net/IWebSocket.cs index 805340b90..748c6642c 100644 --- a/MediaBrowser.Common/Net/IWebSocket.cs +++ b/MediaBrowser.Common/Net/IWebSocket.cs @@ -1,7 +1,7 @@ -using System; +using MediaBrowser.Model.Net; +using System; using System.Threading; using System.Threading.Tasks; -using MediaBrowser.Model.Net; namespace MediaBrowser.Common.Net { @@ -20,8 +20,14 @@ namespace MediaBrowser.Common.Net /// Gets or sets the receive action. /// /// The receive action. - Action OnReceiveDelegate { get; set; } + Action OnReceiveBytes { get; set; } + /// + /// Gets or sets the on receive. + /// + /// The on receive. + Action OnReceive { get; set; } + /// /// Sends the async. /// -- cgit v1.2.3