Commit Graph

1 Commits

Author SHA1 Message Date
Abhinav Gupta a9dc0cfbfd
httpstate/client: Support no retries
Switches the httpClient interface in httpstate
from accepting a `retryAllMethods` boolean
to an enum capable of representing another state: retry nothing.

With this, it's possible to call `httpClient.Do(..)`
and make a request without any retries.

Step towards 
2023-06-20 10:08:20 -07:00