egg-socket-io的demo案例

上传者: xuelang532777032 | 上传时间: 2021-06-01 22:03:17 | 文件大小: 105KB | 文件类型: RAR
主要实现egg利用egg-socket.io 和前端建立长链接 。里面2个文件egg、和html,一个是egg的 你更新下依赖,可以直接启动,还一个是html可以直接测试后端的推送。 演示地址看这里https://blog.csdn.net/xuelang532777032/article/details/117447442

文件下载

资源详情

[{"title":"( 53 个子文件 105KB ) egg-socket-io的demo案例","children":[{"title":"egg-socket-iodemo","children":[{"title":"html","children":[{"title":"jquery-2.1.4.min.js <span style='color:#111;'> 82.37KB </span>","children":null,"spread":false},{"title":"socket.io.js <span style='color:#111;'> 59.78KB </span>","children":null,"spread":false},{"title":"jquery版本.html <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"egg","children":[{"title":".travis.yml <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"config.default.js <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"plugin.js <span style='color:#111;'> 124B </span>","children":null,"spread":false}],"spread":true},{"title":"jsconfig.json <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1020B </span>","children":null,"spread":false},{"title":"logs","children":[{"title":"init","children":[{"title":"egg-web.log <span style='color:#111;'> 52.03KB </span>","children":null,"spread":false},{"title":"egg-schedule.log <span style='color:#111;'> 21.98KB </span>","children":null,"spread":false},{"title":"egg-agent.log <span style='color:#111;'> 72.56KB </span>","children":null,"spread":false},{"title":"init-web.log <span style='color:#111;'> 755B </span>","children":null,"spread":false},{"title":"common-error.log <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"nodejs.yml <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"app","children":[{"title":"controller","children":[{"title":"home.test.js <span style='color:#111;'> 462B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"app","children":[{"title":"io","children":[{"title":"controller","children":[{"title":"home.js <span style='color:#111;'> 833B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"controller","children":[{"title":"home.js <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":null,"spread":false},{"title":"router.js <span style='color:#111;'> 243B </span>","children":null,"spread":false}],"spread":true},{"title":"appveyor.yml <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"typings","children":[{"title":"config","children":[{"title":"plugin.d.ts <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 380B </span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"index.d.ts <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"index.d.ts <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"run","children":[{"title":"application_timing_7044.json <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"application_timing_15524.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_18488.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_16012.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_15768.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"agent_timing_9268.json <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"application_timing_11188.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_15380.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_7548.json <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"application_timing_16308.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_9664.json <span style='color:#111;'> 12.89KB </span>","children":null,"spread":false},{"title":"agent_config_meta.json <span style='color:#111;'> 27.98KB </span>","children":null,"spread":false},{"title":"application_timing_17400.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_config.json <span style='color:#111;'> 16.69KB </span>","children":null,"spread":false},{"title":"router.json <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"application_config_meta.json <span style='color:#111;'> 27.98KB </span>","children":null,"spread":false},{"title":"application_timing_10844.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"agent_config.json <span style='color:#111;'> 13.92KB </span>","children":null,"spread":false},{"title":"application_timing_9312.json <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"application_timing_14176.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_13636.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_12572.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_14104.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_13616.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false},{"title":"application_timing_17108.json <span style='color:#111;'> 12.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 471B </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 9B </span>","children":null,"spread":false},{"title":".autod.conf.js <span style='color:#111;'> 365B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • animenokyo :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-06-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明