aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/WebSocketMessage.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-26 00:33:47 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-03-26 00:33:47 -0400
commit62521eabc20cb73d7236b57a506181af277f3a9e (patch)
treeda46ad60425b75abfece754c6739057b32807887 /MediaBrowser.Model/Net/WebSocketMessage.cs
parenta4756fffe1910519ae983184d1d20a063aff4883 (diff)
update to latest js api client
Diffstat (limited to 'MediaBrowser.Model/Net/WebSocketMessage.cs')
-rw-r--r--MediaBrowser.Model/Net/WebSocketMessage.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Net/WebSocketMessage.cs b/MediaBrowser.Model/Net/WebSocketMessage.cs
new file mode 100644
index 000000000..2cd6828b3
--- /dev/null
+++ b/MediaBrowser.Model/Net/WebSocketMessage.cs
@@ -0,0 +1,22 @@
+
+namespace MediaBrowser.Model.Net
+{
+ /// <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; }
+ }
+
+}