No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

frame.js 373B

123456789101112131415161718192021
  1. 'use strict';
  2. var Frame = function() {};
  3. var instance = {
  4. final: false,
  5. rsv1: false,
  6. rsv2: false,
  7. rsv3: false,
  8. opcode: null,
  9. masked: false,
  10. maskingKey: null,
  11. lengthBytes: 1,
  12. length: 0,
  13. payload: null
  14. };
  15. for (var key in instance)
  16. Frame.prototype[key] = instance[key];
  17. module.exports = Frame;