2021-01-26 12:04:53 +02:00
|
|
|
module.exports = {
|
|
|
|
handshakeGUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11',
|
|
|
|
upgradeHeaderRequirement: 'websocket',
|
2021-01-29 02:40:52 +02:00
|
|
|
websocketVersionRequirement: '13',
|
|
|
|
states: {
|
|
|
|
CONNECTING: 'CONNECTING',
|
|
|
|
OPEN: 'OPEN',
|
|
|
|
CLOSING: 'CLOSING',
|
|
|
|
CLOSED: 'CLOSED'
|
2021-02-03 19:55:41 +02:00
|
|
|
},
|
|
|
|
opcodes: {
|
2021-02-04 16:01:14 +02:00
|
|
|
'CONTINUATION': 0x00,
|
2021-02-03 19:55:41 +02:00
|
|
|
'TEXT_FRAME': 0x01,
|
|
|
|
'BINARY_FRAME': 0x02
|
2021-01-29 02:40:52 +02:00
|
|
|
}
|
2021-02-04 16:01:14 +02:00
|
|
|
};
|