node-coap-client:支持 DTLS 的 CoAP 协议的客户端实现-源码

上传者: 42117150 | 上传时间: 2021-08-03 18:04:45 | 文件大小: 108KB | 文件类型: ZIP
节点-coap-客户端 支持 DTLS 的 CoAP 协议的客户端实现 注意:如果您想与 Trådfri 网关通话,请改用 。 该库建立在具有一些简化抽象的 node-coap-client 之上。 用法 const coap = require ( "node-coap-client" ) . CoapClient ; CoAP 客户端提供以下公共方法: setSecurityParams为主机名提供安全参数。 这必须在进行任何连接尝试之前调用。 setCompatOptions提供主机名的兼容性选项。 这必须在进行任何连接尝试之前调用。 tryToConnect允许检查给定资源是否可用。 如果可能,这也会建立连接,因此加快了以下请求。 request向给定资源发出一次性请求并返回响应。 observe订阅要在所有更新时通知的资源。 stopObserving导致不再发

文件下载

资源详情

[{"title":"( 54 个子文件 108KB ) node-coap-client:支持 DTLS 的 CoAP 协议的客户端实现-源码","children":[{"title":"node-coap-client-master","children":[{"title":"package.json <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 945B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"dependabot.yml <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"FUNDING.yml <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"codeql-analysis.yml <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"dependabot-automerge.yml <span style='color:#111;'> 888B </span>","children":null,"spread":false}],"spread":true},{"title":"auto-merge.yml <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"mocha.env.js <span style='color:#111;'> 298B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 141.08KB </span>","children":null,"spread":false},{"title":".lgtm.yml <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"CoapClient.ts <span style='color:#111;'> 41.10KB </span>","children":null,"spread":false},{"title":"CoapClient.test.ts <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"ContentFormats.ts <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"Message.ts <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"Hostname.ts <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"LogMessage.ts <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"strings.ts <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"strings.test.ts <span style='color:#111;'> 1008B </span>","children":null,"spread":false},{"title":"Origin.ts <span style='color:#111;'> 604B </span>","children":null,"spread":false},{"title":"DeferredPromise.ts <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"DeferredPromise.test.ts <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"SocketWrapper.ts <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"Message.test.ts <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"Option.ts <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false}],"spread":true},{"title":".npmignore <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":".mocharc.json <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 13.38KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"ContentFormats.js <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"Message.js <span style='color:#111;'> 7.57KB </span>","children":null,"spread":false},{"title":"Message.d.ts <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"CoapClient.d.ts <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"CoapClient.js <span style='color:#111;'> 46.80KB </span>","children":null,"spread":false},{"title":"Option.js <span style='color:#111;'> 14.26KB </span>","children":null,"spread":false},{"title":"Option.d.ts <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"strings.d.ts <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"Origin.d.ts <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"DeferredPromise.d.ts <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"SocketWrapper.d.ts <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"SocketWrapper.js <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"LogMessage.d.ts <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"LogMessage.js <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"strings.js <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"Hostname.d.ts <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"DeferredPromise.js <span style='color:#111;'> 579B </span>","children":null,"spread":false},{"title":"Hostname.js <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"Origin.js <span style='color:#111;'> 758B </span>","children":null,"spread":false}],"spread":false},{"title":"ContentFormats.d.ts <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"settings.json <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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