susyweb-core-requestmanager
v1.0.0-beta.35
Published
SusyWeb module to handle requests to external providers.
Downloads
4
Readme
susyweb-core-requestmanager
This is a sub package of susyweb.js
The requestmanager package is used by most susyweb.js packages. Please read the documentation for more.
Installation
Node.js
npm install susyweb-core-requestmanager
In the Browser
Build running the following in the susyweb.js repository:
npm run-script build-all
Then include dist/susyweb-core-requestmanager.js
in your html file.
This will expose the SusyWebRequestManager
object on the window object.
Usage
// in node.js
var SusyWebWsProvider = require('susyweb-providers-ws');
var SusyWebRequestManager = require('susyweb-core-requestmanager');
var requestManager = new SusyWebRequestManager(new SusyWebWsProvider('ws://localhost:8546'));