light ws:带有light json的websocket 源码
轻型 带有light-json的websocket 安装 npm install light-ws 用法 节点JS const path = require ( 'path' ) ; const http = require ( 'http' ) ; const express = require ( 'express' ) ; const LWS = require ( 'light-ws' ) var app = express ( ) ; var server = http . createServer ( app ) ; server . listen ( 8080 , '0.0.0.0' , function ( ) { console . log ( 'start server port 8080!' ) } ) var ws = new LWS ( { 'user
文件列表
light-ws-main.zip
(预估有个8文件)
light-ws-main
.gitignore
2KB
README.md
803B
client.js
3KB
server.js
3KB
LICENSE
1KB
package.json
597B
index.js
119B
package-lock.json
39KB
暂无评论