1.12.14 • Published 7 years ago
web_anmo-core-requestmanager v1.12.14
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-requestmanagerIn the Browser
Build running the following in the web_anmo.js repository:
npm run-script build-allThen 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'));