@jeebey/wx-wsocket
v1.0.1
Published
简化websocket, 支持自动重连
Downloads
1
Readme
介绍
简化websocket, 支持自动重连
安装
npm i @jeebey/wx-wsocket
使用说明
const socket = require('@jeebey/wx-wsocket')
socket.create({ url: 'ws://...', heartbeattext: '0', heartbeattime:3000});
socket.send("");