websocket聊天室

上传者: liufish992 | 上传时间: 2022-07-28 14:04:52 | 文件大小: 123KB | 文件类型: ZIP
使用Websocket实现在线聊天功能,分房聊天室。 框架使用NestJS(NodeJS)、socketio。项目中有web界面,有简单的HTML与JS,便于扩展和接入现有项目。服务启动后,打开本地网页可以看到效果。 也可以部署到服务器上,给更多的用户提供在线聊天服务。例如用Nginx部署前端页面,pm2管理服务。 请仔细阅读 README.md !

文件下载

资源详情

[{"title":"( 32 个子文件 123KB ) websocket聊天室","children":[{"title":"simple-chat","children":[{"title":"package.json <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"jest-e2e.json <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"app.e2e-spec.ts <span style='color:#111;'> 630B </span>","children":null,"spread":false}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 273.65KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"nest-cli.json <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"app.module.ts <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"gateway","children":[{"title":"chat2.gateway.ts <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"chat2.gateway.spec.ts <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"chat1.gateway.ts <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"chat1.gateway.spec.ts <span style='color:#111;'> 453B </span>","children":null,"spread":false}],"spread":true},{"title":"signal","children":[{"title":"signal.gateway.ts <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"signal.gateway.spec.ts <span style='color:#111;'> 460B </span>","children":null,"spread":false}],"spread":true},{"title":"main.ts <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"app.controller.ts <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"app.service.ts <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"app.controller.spec.ts <span style='color:#111;'> 617B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 546B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"web","children":[{"title":"css","children":[{"title":"v.css <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"md.css <span style='color:#111;'> 810B </span>","children":null,"spread":false}],"spread":true},{"title":"chatroom.html <span style='color:#111;'> 931B </span>","children":null,"spread":false},{"title":"v.html <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"index.js <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"webrtcAdapter.js <span style='color:#111;'> 138.85KB </span>","children":null,"spread":false},{"title":"v.js <span style='color:#111;'> 7.44KB </span>","children":null,"spread":false},{"title":"chatroom.js <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"tsconfig.build.json <span style='color:#111;'> 97B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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