Skip to content

Commit 9a8b071

Browse files
author
nebarf
committed
Http client doc (followup)
1 parent a25ca63 commit 9a8b071

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ function App() {
156156
export default App;
157157
```
158158

159-
<style>
160-
.httpRequestsList li {
161-
margin-left: -22px
162-
}
163-
</style>
164-
165159

166160
### Public API
167161

@@ -182,12 +176,12 @@ The complete *public API* exposed by the hook:
182176
| requestOptions | [HttpRequestOptions](./src/client/types.ts) | The options carried by the fetch request. |
183177

184178
### Request return
185-
The return value of native JS fetch. If a custom response parser (see [Provider](#provider)) is provided then the return value corresponds to the parsed one.
179+
The jsonified return value of native JS fetch. If a custom response parser (see [Provider](#provider)) is provided then the return value corresponds to the parsed one.
186180

187181
### Abortable request return
188182
| Value | Type |
189183
| ----- | ---- |
190-
|[request, abortController]|[[RequestReturn](#request-return), [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController)|
184+
|[request, abortController]|[[RequestReturn](#request-return), [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController)]|
191185

192186
### Example &ndash; Abortable request
193187
```js

0 commit comments

Comments
 (0)