1.1.2 • Published 1 year ago
ts-rmb-http-client v1.1.2
rmb-http-client
Threefold RMB client using HTTP
Installation
npm i ts-rmb-http-client
Example usage
import { HTTPMessageBusClient } from "ts-rmb-http-client";
async function main() {
const dstNodeId = 4;
async function deploy() {
const rmb = new HTTPMessageBusClient(3, "https://gridproxy.test.grid.tf", "https://graphql.dev.grid.tf/graphql", "<mnemonics>");
const msg = rmb.prepare("zos.statistics.get", [dstNodeId], 0, 2);
const retMsg = await rmb.send(msg, "{'test':'test'}");
const result = await rmb.read(retMsg);
console.log(`the read response is:`);
console.log(result);
}
deploy();
}
main();
1.1.1
1 year ago
1.1.0
1 year ago
1.1.2
1 year ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.3
2 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago