constants.js 268 B

1234567891011
  1. 'use strict';
  2. module.exports = {
  3. BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'],
  4. GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',
  5. kStatusCode: Symbol('status-code'),
  6. kWebSocket: Symbol('websocket'),
  7. EMPTY_BUFFER: Buffer.alloc(0),
  8. NOOP: () => {}
  9. };