{"library":"wxapp-websocket","type":"library","category":null,"description":"A WebSocket library for WeChat Mini Programs. Current stable version is 1.1.10, released with support for single and multiple WebSocket connections based on the base library version. It wraps the native wx.connectSocket API and provides a Promise-based interface with automatic reconnection and event handling. It simplifies WebSocket communication in WeChat Mini Programs, which have unique constraints compared to browser environments.","language":"javascript","status":"active","version":"1.1.10","tags":["javascript","微信小程序","websocket","ws"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wxapp-websocket","imports":["import Websocket from 'wxapp-websocket'","import Websocket from 'wxapp-websocket'","const ws = new Websocket('wss://example.com')","const ws = new Websocket.Multi('wss://example.com')"]},{"cmd":"yarn add wxapp-websocket","imports":[]},{"cmd":"pnpm add wxapp-websocket","imports":[]}],"homepage":"https://github.com/cytle/wxapp-websocket#readme","github":"https://github.com/cytle/wxapp-websocket","docs":null,"changelog":null,"pypi":null,"npm":"wxapp-websocket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}