ez-websocket
v1.0.1
Published
` npm installl --save ez-websocket `
Downloads
6
Readme
easy-websocket
install
npm installl --save ez-websocket
usage
` import EZWebsocket from 'ez-websocket';
const ws = new EZWebsocket({ url: 'ws://xxxxxxx' })
ws.init();
ws.onopen(options);
ws.send(message);
ws.onmessage((message) => { // get message here });
`