首页 开发技术 其它     /    rpc-websockets:在WebSockets上针对Node.js和JavaScriptTypeScript实现JSON-RPC2.0-源码

rpc-websockets:在WebSockets上针对Node.js和JavaScriptTypeScript实现JSON-RPC2.0-源码

上传者: weixin_42099116 | 上传时间:2023/7/31 19:18:34 | 文件大小:1.38MB | 文件类型:ZIP
rpc-websockets:在WebSockets上针对Node.js和JavaScriptTypeScript实现JSON-RPC2.0-源码
首先支持和/WebSockets,并支持。
关于rpc-websockets库使开发人员可以轻松实现其业务逻辑,包括用户,计算机或任何设备之间的消息传递。
它提供了通过WebSocket通信协议发送和接收JSON数据的可能性,以支持双向通知推送,运行RPC方法并触发任何类型的事件信令。
目前,只有客户端可以调用RPC方法,反之亦然。
前端(基于HTML/JS)和后端(基于Node.js)开发环境均受支持。
rpc-websockets基于Node.js构建,并支持LTS和当前版本。
使用免费的OSS版本以实施和管理您自己的WebSocket服务器实例,或订阅我们的并让我们管理您的实例,并在易于使用的Web管理上为您提供方法,事件和通知的管理门户。
快速开始在您的项目中安装我们的OSS库:npminstallrpc-websockets使用rpc-websockets编写源代码:varWebSocket=require('rpc-websockets').ClientvarWebSocketServer=require('rpc

文件下载

资源详情

[{"title":"(75个子文件1.38MB)rpc-websockets:在WebSockets上针对Node.js和JavaScriptTypeScript实现JSON-RPC2.0-源码","children":[{"title":"rpc-websockets-master","children":[{"title":".travis.yml <span style='color:#111;'>148B</span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'>1.91KB</span>","children":null,"spread":false},{"title":"misc","children":[{"title":"pro-features.xcf <span style='color:#111;'>384.04KB</span>","children":null,"spread":false},{"title":"oss-features.xcf <span style='color:#111;'>999.12KB</span>","children":null,"spread":false}],"spread":true},{"title":".babelrc <span style='color:#111;'>123B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>2.14KB</span>","children":null,"spread":false},{"title":".github","children":[{"title":"FUNDING.yml <span style='color:#111;'>37B</span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"client.spec.js <span style='color:#111;'>18.51KB</span>","children":null,"spread":false},{"title":"server.spec.js <span style='color:#111;'>43.31KB</span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":"oss-features.png <span style='color:#111;'>196.00KB</span>","children":null,"spread":false},{"title":"user-klikatech.png <span style='color:#111;'>57.11KB</span>","children":null,"spread":false},{"title":"pro-features.png <span style='color:#111;'>60.37KB</span>","children":null,"spread":false},{"title":"user-codice.png <span style='color:#111;'>25.25KB</span>","children":null,"spread":false},{"title":"user-scaleleap.png <span style='color:#111;'>6.53KB</span>","children":null,"spread":false},{"title":"user-scratchbox.png <span style='color:#111;'>66.78KB</span>","children":null,"spread":false},{"title":"user-uniqcast.png <span style='color:#111;'>68.59KB</span>","children":null,"spread":false},{"title":"user-filecoin.png <span style='color:#111;'>12.13KB</span>","children":null,"spread":false},{"title":"user-witnet.png <span style='color:#111;'>63.29KB</span>","children":null,"spread":false},{"title":"user-loom.png <span style='color:#111;'>20.43KB</span>","children":null,"spread":false},{"title":"logo.png <span style='color:#111;'>11.89KB</span>","children":null,"spread":false},{"title":"user-solana.png <span style='color:#111;'>117.25KB</span>","children":null,"spread":false},{"title":"user-holo.png <span style='color:#111;'>33.41KB</span>","children":null,"spread":false},{"title":"user-kodebox.png <span style='color:#111;'>8.23KB</span>","children":null,"spread":false},{"title":"user-leapdao.png <span style='color:#111;'>177.52KB</span>","children":null,"spread":false},{"title":"user-hylo.png <span style='color:#111;'>4.02MB</span>","children":null,"spread":false},{"title":"user-heynetwork.png <span style='color:#111;'>7.30KB</span>","children":null,"spread":false}],"spread":false},{"title":"build-ts","children":[{"title":"index.js <span style='color:#111;'>1.14KB</span>","children":null,"spread":false},{"title":"index.browser.d.ts <span style='color:#111;'>373B</span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"client","children":[{"title":"websocket.js <span style='color:#111;'>380B</span>","children":null,"spread":false},{"title":"websocket.d.ts <span style='color:#111;'>400B</span>","children":null,"spread":false},{"title":"client.types.js <span style='color:#111;'>11B</span>","children":null,"spread":false},{"title":"client.types.d.ts <span style='color:#111;'>993B</span>","children":null,"spread":false},{"title":"websocket.browser.d.ts <span style='color:#111;'>1.95KB</span>","children":null,"spread":false},{"title":"websocket.browser.js <span style='color:#111;'>2.21KB</span>","children":null,"spread":false}],"spread":true},{"title":"client.js <span style='color:#111;'>9.39KB</span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'>730B</span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'>19.50KB</span>","children":null,"spread":false},{"title":"client.d.ts <span style='color:#111;'>3.96KB</span>","children":null,"spread":false},{"title":"utils.d.ts <span style='color:#111;'>330B</span>","children":null,"spread":false},{"title":"server.d.ts <span style='color:#111;'>6.15KB</span>","children":null,"spread":false}],"spread":true},{"title":"index.browser.js <span style='color:#111;'>526B</span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'>429B</span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'>316.50KB</span>","children":null,"spread":false},{"title":"dist","children":[{"title":"index.js <span style='color:#111;'>3.53KB</span>","children":null,"spread":false},{"title":"index.browser-bundle.js <span style='color:#111;'>121.80KB</span>","children":null,"spread":false},{"title":"index.browser.d.ts <span style='color:#111;'>373B</span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"client","children":[{"title":"websocket.js <span style='color:#111;'>582B</span>","children":null,"spread":false},{"title":"websocket.d.ts <span style='color:#111;'>400B</span>","children":null,"spread":false},{"title":"client.types.js <span style='color:#111;'>79B</span>","children":null,"spread":false},{"title":"client.types.d.ts <span style='color:#111;'>993B</span>","children":null,"spread":false},{"title":"websocket.browser.d.ts <span style='color:#111;'>1.95KB</span>","children":null,"spread":false},{"title":"websocket.browser.js <span style='color:#111;'>4.17KB</span>","children":null,"spread":false}],"spread":false},{"title":"client.js <span style='color:#111;'>15.12KB</span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'>741B</span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'>33.67KB</span>","children":null,"spread":false},{"title":"client.d.ts <span style='color:#111;'>3.96KB</span>","children":null,"spread":false},{"title":"utils.d.ts <span style='color:#111;'>330B</span>","children":null,"spread":false},{"title":"server.d.ts <span style='color:#111;'>6.15KB</span>","children":null,"spread":false}],"spread":false},{"title":"index.browser.js <span style='color:#111;'>2.80KB</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"index.browser.ts <span style='color:#111;'>848B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"client","children":[{"title":"websocket.ts <span style='color:#111;'>511B</span>","children":null,"spread":false},{"title":"client.types.ts <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"websocket.browser.ts <span style='color:#111;'>2.73KB</span>","children":null,"spread":false}],"spread":false},{"title":"utils.ts <span style='color:#111;'>840B</span>","children":null,"spread":false},{"title":"circular-json.node.d.ts <span style='color:#111;'>161B</span>","children":null,"spread":false},{"title":"server.ts <span style='color:#111;'>21.24KB</span>","children":null,"spread":false},{"title":"client.ts <span style='color:#111;'>11.12KB</span>","children":null,"spread":false}],"spread":false},{"title":"index.ts <span style='color:#111;'>982B</span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'>38B</span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'>344B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>107B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>8.21KB</span>","children":null,"spread":false},{"title":"API.md <span style='color:#111;'>11.83KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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