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