ws-sequence
v1.10.2
Published
Websocket Sequence
Downloads
16
Readme
Websocket Sequence
Usage
import WS from 'ws-sequence'
const ws = new WS({uri: 'wss://localhost', ping: '💧', binaryType: 'blob'})
ws.on('open', e => {
console.log(e)
})
ws.on('message', msg => {
console.log(msg)
})
ws.send({foo: 'bar'})