aboutsummaryrefslogtreecommitdiffhomepage
path: root/node_modules/ws/lib/Constants.js
blob: 39044146294895f8390e5de301dbc1dc12ca4395 (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

const safeBuffer = require('safe-buffer');

const Buffer = safeBuffer.Buffer;

exports.BINARY_TYPES = ['nodebuffer', 'arraybuffer', 'fragments'];
exports.GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';
exports.EMPTY_BUFFER = Buffer.alloc(0);
exports.NOOP = () => {};