Skip to content

Commit 79a1343

Browse files
jenschudejherey
andauthored
Apply suggestions from code review
Co-authored-by: Jeremiah Olufayo <[email protected]>
1 parent 45909e7 commit 79a1343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sdk/api/sdkMiddlewareHttp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ The HTTP middleware can run in either a browser or Node.js environment. For Node
4040
11. `maxDelay` _(Number)_: The maximum duration (milliseconds) to wait before retrying, useful if the delay time grew exponentially more than reasonable
4141
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
43-
14. `timeout` _(Number)_: Request/response timeout in ms. Must have globally available or passed in `AbortController`
44-
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.
43+
14. `timeout` _(Number)_: Request/response timeout in ms. Must be globally available or passed in `AbortController`
44+
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.
4545

4646
#### Retrying requests
4747

0 commit comments

Comments
 (0)