app3-core-requestmanager

App3 module to handle requests to external providers.

Usage no npm install needed!

<script type="module">
  import app3CoreRequestmanager from 'https://cdn.skypack.dev/app3-core-requestmanager';
</script>

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'));