在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jbenet/node-ipfs-msgproto开源软件地址:https://github.com/jbenet/node-ipfs-msgproto开源编程语言:JavaScript 100.0%开源软件介绍:ipfs-msgprotoThis is a node module to make writing wire protocol stacks on top of streams easier. In particular, it's very helpful when your protocol layers manipulate those above (e.g. en/decryption). The way it works is that the user defines
And this modules takes care of en/decoding, en/decapsulating, etc. BTW, it's recommended to use protobufs or capnp codecs for encoding/decoding to the wire. Though, at the very least, msgproto payloads are protobuf encoded, so you'll get smart wire scanning. Install
ExamplesCheck out these shim protocols:
And then see this sample protocol: |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论