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
@@ -296,6 +341,7 @@ The library provides a hook `useHttpRequest` managing the state of the http requ
296
341
| baseUrlOverride | string | The base url of the request. If provided, it would override the [provider](#provider) base url.
297
342
| relativeUrl | string | The url relative to the base one (e.g. posts/1).
298
343
| parser |[HttpResponseParser](src/client/types.ts)| An optional response parser that would override the [provider](#provider) global one. |
344
+
| context |[HttpContext](src/client/http-context.ts)| An optional context that carries arbitrary user defined data. See examples.|
299
345
| requestOptions |[HttpRequestOptions](./src/client/types.ts)| The options carried by the fetch request. |
300
346
| initialData | any | The value that the state assumes initially before the request is send. |
301
347
| fetchOnBootstrap | boolean | Tell if the fetch must be triggered automatically when mounting the component or not. In the second case we would like to have a manual fetch, this is optained by a request function returned by the hook. |
0 commit comments