web_anmo-core-requestmanager
v1.12.14
Published
Quality Tracing Chain JavaScript API
Downloads
7
Maintainers
Readme
web_anmo-core-requestmanager
This is a sub package of web_anmo.js
The requestmanager package is used by most web_anmo.js packages. Please read the documentation for more.
Installation
Node.js
npm install web_anmo-core-requestmanager
In the Browser
Build running the following in the web_anmo.js repository:
npm run-script build-all
Then include dist/web_anmo-core-requestmanager.js
in your html file.
This will expose the Web3RequestManager
object on the window object.
Usage
// in node.js
var Web3WsProvider = require(web_anmo-providers-ws);
var Web3RequestManager = require(web_anmo-core-requestmanager);
var requestManager = new Web3RequestManager(new Web3WsProvider('ws://localhost:8546'));