An Axios wrapper that adds polling, lock, and cancel support for HTTP requests. Version 1.0.4 released in 2019, no recent updates. Provides a simple class-based API with methods for get, post, poll, cancel, and status checks. Differentiates from raw Axios by offering built-in request deduplication (lockable/cancelable) and polling with interval callbacks.
npm install axios-request-handlerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a Request instance with URL and options, perform GET request, polling with interval, and cancellation.
Pass full options object to per-request methods like get({ params: ... }).Consider using Axios interceptors or a more modern wrapper like 'axios-hooks' for React.
Refer to documentation: isUpdating is specific to polling intervals.
Lock Axios version to <1.0.0 if using this package.
Use import Request from 'axios-request-handler' (no curly braces).
Run npm install axios-request-handler (ensure axios is also installed).
Ensure proper import and instantiation: const instances = new Request(url, options);
Check network and Axios version; ensure error handling is in place.