tomas / needle

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
https://www.npmjs.com/package/needle
MIT License
1.63k stars 236 forks source link

FEATURE: Retry #426

Open ohbus opened 1 year ago

ohbus commented 1 year ago

There should be a feature to enable retires or invoke the same retry promise after some additional parameters like for interceptors does when getting access tokens using refresh tokens when one is expired.

tomas commented 1 year ago

Feel free to submit a PR for this!