conflux-web-core-requestmanager
This is a sub package of conflux-web
The requestmanager package is used by most conflux-web packages. Please read the documentation for more.
Installation
Node.js
npm install conflux-web-core-requestmanager
In the Browser
Build running the following in the conflux-web repository:
npm run-script build-all
Then include dist/conflux-web-core-requestmanager.js
in your html file.
This will expose the ConfluxWebRequestManager
object on the window object.
Usage
// in node.jsvar ConfluxWebWsProvider = ;var ConfluxWebRequestManager = ; var requestManager = 'ws://localhost:8546';