aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/IWebSocket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Net/IWebSocket.cs')
-rw-r--r--MediaBrowser.Common/Net/IWebSocket.cs12
1 files changed, 9 insertions, 3 deletions
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,9 +20,15 @@ namespace MediaBrowser.Common.Net
/// Gets or sets the receive action.
/// </summary>
/// <value>The receive action.</value>
- Action<byte[]> OnReceiveDelegate { get; set; }
+ Action<byte[]> OnReceiveBytes { get; set; }
/// <summary>
+ /// Gets or sets the on receive.
+ /// </summary>
+ /// <value>The on receive.</value>
+ Action<string> OnReceive { get; set; }
+
+ /// <summary>
/// Sends the async.
/// </summary>
/// <param name="bytes">The bytes.</param>