You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Network.HTTP.Affjax.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,14 @@ delete_ :: forall e. URL -> Affjax e Unit
144
144
145
145
Makes a `DELETE` request to the specified URL and ignores the response.
146
146
147
+
#### `retry`
148
+
149
+
```purescript
150
+
retry :: forall e a b. (Requestable a) => Maybe Int -> (AffjaxRequest a -> Affjax (avar :: AVAR | e) b) -> AffjaxRequest a -> Affjax (avar :: AVAR | e) b
151
+
```
152
+
153
+
Retry a request with exponential backoff, timing out optionally after a specified number of milliseconds.
0 commit comments