update to latest js api client

This commit is contained in:
Luke Pulverenti
2013-03-26 00:33:47 -04:00
parent a4756fffe1
commit 62521eabc2
8 changed files with 73 additions and 26 deletions

View File

@@ -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
{
@@ -54,24 +54,6 @@ namespace MediaBrowser.Common.Net
Task SendAsync(byte[] buffer, WebSocketMessageType type, CancellationToken cancellationToken);
}
/// <summary>
/// Class WebSocketMessage
/// </summary>
/// <typeparam name="T"></typeparam>
public class WebSocketMessage<T>
{
/// <summary>
/// Gets or sets the type of the message.
/// </summary>
/// <value>The type of the message.</value>
public string MessageType { get; set; }
/// <summary>
/// Gets or sets the data.
/// </summary>
/// <value>The data.</value>
public T Data { get; set; }
}
/// <summary>
/// Class WebSocketMessageInfo
/// </summary>