1. 首页
  2. 数据库
  3. 其它
  4. 烟:使用WebRTC将Web浏览器变成Web服务器 源码

烟:使用WebRTC将Web浏览器变成Web服务器 源码

上传者: 2021-02-08 20:45:04上传 ZIP文件 867.91KB 热度 19次
抽烟 通过WebRTC在浏览器中构建Web Server应用程序的框架。 $ npm install smoke-node --save import { Node } from 'smoke-node' const node = new Node ( ) const app = node . rest . createServer ( ) app . get ( '/' , ( req , res ) => { res . send ( 'hello world' ) } ) app . listen ( 80 ) const text = await node . rest . f
下载地址
用户评论