summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts/streaming/channel.ts')
-rw-r--r--src/web/app/common/scripts/streaming/channel.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/streaming/channel.ts b/src/web/app/common/scripts/streaming/channel.ts
new file mode 100644
index 0000000000..434b108b9e
--- /dev/null
+++ b/src/web/app/common/scripts/streaming/channel.ts
@@ -0,0 +1,12 @@
+import Stream from './stream';
+
+/**
+ * Channel stream connection
+ */
+export default class Connection extends Stream {
+ constructor(channelId) {
+ super('channel', {
+ channel: channelId
+ });
+ }
+}