From 79a1343011090c7181d32a8fb43f0de23a148c81 Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Wed, 20 Oct 2021 10:22:15 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Jeremiah Olufayo <32069279+jherey@users.noreply.github.com> --- docs/sdk/api/sdkMiddlewareHttp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sdk/api/sdkMiddlewareHttp.md b/docs/sdk/api/sdkMiddlewareHttp.md index f7ddf9293..411a724ee 100644 --- a/docs/sdk/api/sdkMiddlewareHttp.md +++ b/docs/sdk/api/sdkMiddlewareHttp.md @@ -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