on master help sign in
Allow for IO in httpConfigRetryPolicy
0684253Armando Ramirez
CHANGELOG.md+4
@@ -1,3 +1,7 @@
1+## Req 3.1.0
2+
3+* Changed signature of `httpConfigRetryPolicy` to `RetryPolicyM IO`.
4+
1## Req 3.0.0
5## Req 3.0.0
2
6
3* Dropped functions `parseUrlHttp`, `parseUrlHttps`, and `parseUrl`. Instead
7* Dropped functions `parseUrlHttp`, `parseUrlHttps`, and `parseUrl`. Instead
Network/HTTP/Req.hs+1−1
@@ -596,7 +596,7 @@ data HttpConfig = HttpConfig
596 -- /1.0.0/.
596 -- /1.0.0/.
597 --
597 --
598 -- @since 0.3.0
598 -- @since 0.3.0
599− , httpConfigRetryPolicy :: RetryPolicy
599+ , httpConfigRetryPolicy :: RetryPolicyM IO
600 -- ^ The retry policy to use for request retrying. By default 'def' is
600 -- ^ The retry policy to use for request retrying. By default 'def' is
601 -- used (see 'RetryPolicyM').
601 -- used (see 'RetryPolicyM').
602 --
602 --