weapp-socketio / Weapp.socket.io
Licence: mit
A WebSocket client for building WeChat Mini Program implement by socket.io
Stars: ✭ 517
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Weapp.socket.io
Mp canvas drawer
🚀 微信小程序上canvas绘制图片助手,一个json就制作分享朋友圈图片
Stars: ✭ 1,611 (+211.61%)
Mutual labels: mpvue, wepy
T Io
解决其它网络框架没有解决的用户痛点,让天下没有难开发的网络程序
Stars: ✭ 1,331 (+157.45%)
Mutual labels: socket, websocket-client
spa-custom-hooks
💯 Custom hook of business layer (asynchronous task notification solution), supporting various applets and Vue architectures (uni app, wepy, mpvue, etc.)
Stars: ✭ 307 (-40.62%)
Mutual labels: wepy, mpvue
Ewa
Enhanced Wechat App Development Toolkit (微信小程序增强开发工具)。不同于 wepy 或者 mpvue,是一个轻量级小程序开发框架。支持原生小程序所有功能,无需学习,极易上手。支持转换为百度/字节跳动/QQ小程序。
Stars: ✭ 160 (-69.05%)
Mutual labels: mpvue, wepy
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (-87.04%)
Mutual labels: socket, websocket-client
Saea
SAEA.Socket is a high-performance IOCP framework TCP based on dotnet standard 2.0; Src contains its application test scenarios, such as websocket,rpc, redis driver, MVC WebAPI, lightweight message server, ultra large file transmission, etc. SAEA.Socket是一个高性能IOCP框架的 TCP,基于dotnet standard 2.0;Src中含有其应用测试场景,例如websocket、rpc、redis驱动、MVC WebAPI、轻量级消息服务器、超大文件传输等
Stars: ✭ 318 (-38.49%)
Mutual labels: socket, websocket-client
Java Slack Sdk
Slack Developer Kit (including Bolt for Java) for any JVM language
Stars: ✭ 393 (-23.98%)
Mutual labels: websocket-client
Plibsys
Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
Stars: ✭ 402 (-22.24%)
Mutual labels: socket
Fiora
An interesting open source chat application. Developed with node.js, mongoDB, socket.io and react
Stars: ✭ 4,920 (+851.64%)
Mutual labels: socket
Redispapa
another redis monitor by using flask, angular, socket.io
Stars: ✭ 389 (-24.76%)
Mutual labels: socket
Mpvue Calendar
📅 A calendar component for vue3.0. Support gesture sliding, range selection, according to the week switch...
Stars: ✭ 373 (-27.85%)
Mutual labels: mpvue
React Native Socket Io Example
A demo for implementing a mobile chatroom
Stars: ✭ 358 (-30.75%)
Mutual labels: socket
Websocket As Promised
A Promise-based API for WebSockets
Stars: ✭ 485 (-6.19%)
Mutual labels: websocket-client
A WebSocket client for building WeChat Mini Program implement by socket.io
Feature
Full feature socket.io style implemented, based-on [email protected]
version, such as:
- send message queue
- auto reconnect
- ping, pong
- room, namespaces
Demos
Official Framework , Wepy Framework
Install
If you use a third-party framework such as wepy, you should install via npm
$ npm install weapp.socket.io
Or if you use the native way to write code,I recommend using git clone
$ git clone https://github.com/10cella/weapp.socket.io
# development mode
$ npm run build-dev
# production mode
$ npm run build
$ cp path/weapp.socket.io/dist/weapp.socket.io.js path/your_weapp_dir
Usage
code style is same to socket.io-client
const io = require('./yout_path/weapp.socket.io.js')
const socket = io('https://socket-io-chat.now.sh')
socket.on('connect', () => {
console.log('connection created.')
});
socket.on('new message', d => {
const {
username,
message
} = d;
console.log('received: ', username, message)
});
socket.emit('add user', "Jack");
API
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].