request-sa
We follow [breaking].[feature].[fix] versioning
npm install --save request-sa
request
An universal version of the node.js librarysuperagent to achieve its "universal" nature
- UsesVersion 1.0.0
Usage
Below is a sample code for how to use this library:
const request = ; ;
You can access the set of active-requests and check if the library is busy like this:
console; // request.activeRequests is a "Set"console; // true or false
You can also abort a request midway like this:
const reqPromise = ; reqPromise;
Todo:
- Include cookie support.
- Include session support.