relaynet-pohttp-js:实现PoHTTP绑定JavaScript库

时间:2021-02-10 17:53:16
【文件属性】:
文件名称:relaynet-pohttp-js:实现PoHTTP绑定JavaScript库
文件大小:120KB
文件格式:ZIP
更新时间:2021-02-10 17:53:16
relaynet relaynet-binding-pohttp TypeScript Node.js PoHTTP绑定实现 这是的中继网络的客户端Node.js实现。 由于PoHTTP建立了 ,因此该库仅与实现网关(如)或开发人员有关。 安装 该库需要Node.js v10或更高版本,可以按以下方式安装: npm install @relaycorp/relaynet-pohttp 利用 作为外部PDC的客户端实现,此库支持的唯一操作是包裹的交付。 relaynet-pohttp-js旨在与一起使用。 例如,这是中继将包裹运送到公共端点rne+https://ping.relaycorp.tech : import { deliverParcel } from '@relaycorp/relaynet-pohttp' ; const relayAddress = 'rng+https://relay.relaycorp.tech' ; async function
【文件预览】:
relaynet-pohttp-js-master
----.gitignore(43B)
----package.json(2KB)
----tslint.json(58B)
----package-lock.json(546KB)
----src()
--------integration_tests()
--------types()
--------index.ts(176B)
--------lib()
----.kodiak.toml(210B)
----.releaserc.yml(51B)
----jest.config.js(6KB)
----LICENSE(1KB)
----tsconfig.json(237B)
----tsconfig.module.json(177B)
----.github()
--------workflows()
----.prettierignore(82B)
----jest.config.integration.js(248B)
----README.md(2KB)
----jest.config.ci.js(215B)
----typedoc.json(56B)
----.npmignore(193B)
----.editorconfig(258B)
----.dependabot()
--------config.yml(155B)

网友评论