node-request-retry icon indicating copy to clipboard operation
node-request-retry copied to clipboard

Support for persistent connections?

Open amit777 opened this issue 4 years ago • 1 comments

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

amit777 avatar Aug 16 '21 22:08 amit777

It could be possible yes, I'm interested in a PR to view what can be done in that direction :)

FGRibreau avatar Aug 17 '21 09:08 FGRibreau