Write your awesome realtime Wechat mini program

Get Started →

Socket.io Style

Full feature & style of socket.io, do not change your habits

Websocket Transport

Create websocket connection default, Mini-Program not support Polling

Binary Support

it's possible to send any blob back and forth: image, audio, video.

Style same to on browser

const io = require('./yout_path/weapp.socket.io.js')

const socket = io('http://localhost:8000')

socket.on('news', d => {
  console.log('received news: ', d)

socket.emit('news', {
  title: 'this is a news'