aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/IWebSocket.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-20 00:46:29 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-20 00:46:29 -0400
commitce20066bc0e2c7ba1634200cdee6ac339d4dfb60 (patch)
tree3a9a9f84031bf07d67eefb1a52251d701b279b0c /MediaBrowser.Common/Net/IWebSocket.cs
parent880fa216744340db2843c4f773664426ff8bfe36 (diff)
update translations
Diffstat (limited to 'MediaBrowser.Common/Net/IWebSocket.cs')
-rw-r--r--MediaBrowser.Common/Net/IWebSocket.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/MediaBrowser.Common/Net/IWebSocket.cs b/MediaBrowser.Common/Net/IWebSocket.cs
index 05f7975bc..b31a95319 100644
--- a/MediaBrowser.Common/Net/IWebSocket.cs
+++ b/MediaBrowser.Common/Net/IWebSocket.cs
@@ -32,15 +32,23 @@ namespace MediaBrowser.Common.Net
/// </summary>
/// <value>The on receive.</value>
Action<string> OnReceive { get; set; }
-
+
/// <summary>
/// Sends the async.
/// </summary>
/// <param name="bytes">The bytes.</param>
- /// <param name="type">The type.</param>
/// <param name="endOfMessage">if set to <c>true</c> [end of message].</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
- Task SendAsync(byte[] bytes, WebSocketMessageType type, bool endOfMessage, CancellationToken cancellationToken);
+ Task SendAsync(byte[] bytes, bool endOfMessage, CancellationToken cancellationToken);
+
+ /// <summary>
+ /// Sends the asynchronous.
+ /// </summary>
+ /// <param name="text">The text.</param>
+ /// <param name="endOfMessage">if set to <c>true</c> [end of message].</param>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <returns>Task.</returns>
+ Task SendAsync(string text, bool endOfMessage, CancellationToken cancellationToken);
}
}