From 88a3f12a8bd890762969d4ec5018975a7627945c Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 20 Jun 2015 16:06:54 -0700 Subject: [PATCH] GUAC-1172: Add constant for stream index mimetype. --- guacamole-common-js/src/main/webapp/modules/Object.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/guacamole-common-js/src/main/webapp/modules/Object.js b/guacamole-common-js/src/main/webapp/modules/Object.js index 4fe650037..34f0b5637 100644 --- a/guacamole-common-js/src/main/webapp/modules/Object.js +++ b/guacamole-common-js/src/main/webapp/modules/Object.js @@ -203,3 +203,13 @@ Guacamole.Object = function(client, index) { * @type String */ Guacamole.Object.ROOT_STREAM = '/'; + +/** + * The mimetype of a stream containing JSON which maps available stream names + * to their corresponding mimetype. The root stream of a Guacamole.Object MUST + * have this mimetype. + * + * @constant + * @type String + */ +Guacamole.Object.STREAM_INDEX_MIMETYPE = 'application/vnd.glyptodon.guacamole.stream-index+json';