INTRO
The heart.js module provides client HEART protocol implementation. The size of heart.js is 1152 bytes.
CONFIG
Configuration consists of: 1) current transport; 2) array of available transports; 3) reconnection delay; 4) threshold of maximum reconnects.
TRANSPORT
Transport contains PING interval. On hearbeat ws.send('PING') is performed.
CONNECTION
You may also want to read: bert.js, utf8.js, mq.js, nitro.js, n2o.js.