summaryrefslogtreecommitdiff
path: root/alarm/node_modules/ws/lib/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/ws/lib/constants.js')
-rw-r--r--alarm/node_modules/ws/lib/constants.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/alarm/node_modules/ws/lib/constants.js b/alarm/node_modules/ws/lib/constants.js
new file mode 100644
index 0000000..4082981
--- /dev/null
+++ b/alarm/node_modules/ws/lib/constants.js
@@ -0,0 +1,10 @@
+'use strict';
+
+module.exports = {
+ BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],
+ GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',
+ kStatusCode: Symbol('status-code'),
+ kWebSocket: Symbol('websocket'),
+ EMPTY_BUFFER: Buffer.alloc(0),
+ NOOP: () => {}
+};