work.suroh.tk/node_modules/ws/lib/constants.js

11 lines
268 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
'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: () => {}
};