node-request-retry
node-request-retry copied to clipboard
Support for persistent connections?
I was wondering if it was possible for the module to keep a persistent connection open to a server to make multiple API requests. Also, if the persistent connection dies, then it would retry to connect.
Something similar to what is described in this article: https://medium.com/@onufrienkos/keep-alive-connection-on-inter-service-http-requests-3f2de73ffa1
It could be possible yes, I'm interested in a PR to view what can be done in that direction :)