pec-core-requestmanager
v1.0.5
Published
pec module to handle requests to external providers.
Downloads
30
Readme
pec-core-requestmanager
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is a sub-package of [pec.js][repo].
This requestmanager package is used by most [pec.js][repo] packages.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install pec-core-requestmanager
Usage
const Web3WsProvider = require('pec-providers-ws');
const Web3RequestManager = require('pec-core-requestmanager');
const requestManager = new Web3RequestManager(new Web3WsProvider('ws://localhost:8546'));