fasthttp
fasthttp copied to clipboard
[Feature Request] HTTP Client Request with Retries and Backoff
If HTTP Client Request has following features it would be great:
- Retry on Timeout, Connection Closed or No Connection available
- Backoff and wait till pending request are processed
There's something similar done on net/http
https://github.com/gojek/heimdall
I'm not exactly sure what you mean by Connection Closed or No Connection available, but there are methods to set and get this header and the header is respected by both the server and client.
All the other things are maybe more for libraries on top of fasthttp. But pull requests are always welcome.