weex.adapter.websocket
A W3C-compliant webSocket object based on the weex webSocket module
Installation
yarn add weexadapterwebsocket
or
npm install weexadapterwebsocket
How to use
var Websocket = var ws = 'wss://<doman>:<port>'ws{}wsws{}ws{}ws
When is it used?
- Develop websocket application in weex with W3C standard syntax
- Make existing libraries compatible with weex by replacing them. Such as socket.io-client