setup-php/node_modules/ws/lib/constants.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

11 lines
268 B
JavaScript

'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: () => {}
};