socket.io-client-weex

socket.io-client for weex, Developed based on engine.io-client-weex and weex.adapter.websocket, The underlying webSocket implementation is replaced by the weex socket implementation.

Usage no npm install needed!

<script type="module">
  import socketIoClientWeex from 'https://cdn.skypack.dev/socket.io-client-weex';
</script>

README

socket.io-client-weex

socket.io-client for weex, Developed based on engine.io-client-weex and weex.adapter.websocket, The underlying webSocket implementation is replaced by the weex socket implementation.

Docs

same as socket.io-client https://github.com/socketio/socket.io-client

What Changed

  • Only support socket connection, remove polling transport support
  • Use the webpack plugin replace engine.io-client with engine.io-client-weex,The details are as follows ·/webpack.config.js

Some Links

Reference Materials