Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremiah Olufayo  <[email protected]>
  • Loading branch information
jenschude and jherey authored Oct 20, 2021
1 parent 45909e7 commit 79a1343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sdk/api/sdkMiddlewareHttp.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ The HTTP middleware can run in either a browser or Node.js environment. For Node
11. `maxDelay` _(Number)_: The maximum duration (milliseconds) to wait before retrying, useful if the delay time grew exponentially more than reasonable
12. `retryOnAbort` _(Boolean)_: Configure the client to retry an aborted request or not. Defaults to false.
13. `fetch` _(Function)_: A `fetch` implementation which can be e.g. `node-fetch` or `unfetch` but also the native browser `fetch` function
14. `timeout` _(Number)_: Request/response timeout in ms. Must have globally available or passed in `AbortController`
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.
14. `timeout` _(Number)_: Request/response timeout in ms. Must be globally available or passed in `AbortController`
15. `abortController` or `getAbortController` depending on what 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 a globally available one.

#### Retrying requests

Expand Down

0 comments on commit 79a1343

Please sign in to comment.