source: trip-planner-front/node_modules/websocket-driver/lib/websocket/driver/hybi/frame.js@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 373 bytes
Line 
1'use strict';
2
3var Frame = function() {};
4
5var instance = {
6 final: false,
7 rsv1: false,
8 rsv2: false,
9 rsv3: false,
10 opcode: null,
11 masked: false,
12 maskingKey: null,
13 lengthBytes: 1,
14 length: 0,
15 payload: null
16};
17
18for (var key in instance)
19 Frame.prototype[key] = instance[key];
20
21module.exports = Frame;
Note: See TracBrowser for help on using the repository browser.