Skip to content

Commit 45909e7

Browse files
jenschudejherey
andauthored
Update docs/sdk/api/sdkMiddlewareHttp.md
Co-authored-by: Jeremiah Olufayo <[email protected]>
1 parent 2fb6205 commit 45909e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sdk/api/sdkMiddlewareHttp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The HTTP middleware can run in either a browser or Node.js environment. For Node
3838
9. `retryDelay` _(Number)_: amount of milliseconds to wait before retrying the next request. (Default: 200)
3939
10. `backoff` _(Boolean)_: activates exponential backoff. Recommended to prevent spamming of the server. (Default: true)
4040
11. `maxDelay` _(Number)_: The maximum duration (milliseconds) to wait before retrying, useful if the delay time grew exponentially more than reasonable
41-
12. `retryOnAbort` _(Boolean)_: Configure the client to retry an aborted request or not. defaults to false.
41+
12. `retryOnAbort` _(Boolean)_: Configure the client to retry an aborted request or not. Defaults to false.
4242
13. `fetch` _(Function)_: A `fetch` implementation which can be e.g. `node-fetch` or `unfetch` but also the native browser `fetch` function
4343
14. `timeout` _(Number)_: Request/response timeout in ms. Must have globally available or passed in `AbortController`
4444
15. `abortController` or `getAbortController` depending on you chose to handle the timeout (_abortController_): This property accepts the `AbortController` instance. Could be [abort-controller](https://www.npmjs.com/package/abort-controller) or globally available one.

0 commit comments

Comments
 (0)