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
|`name`|`string`|`'FetchError'`| The name of the error. |`Error.name`|[defines.ts:67](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L67)|
47
+
|`status`|`number`|`0`| The status code of the response. | - |[defines.ts:71](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L71)|
Copy file name to clipboardExpand all lines: docs/interfaces/FetchInit.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,6 @@ Extends the standard `RequestInit` interface from the Fetch API to include addit
16
16
17
17
| Property | Type | Description | Defined in |
18
18
| ------ | ------ | ------ | ------ |
19
-
|`abortable?`|`boolean`| Indicates whether the fetch request should be abortable. |[defines.ts:47](https://github.com/JiangJie/fetch-t/blob/6db6e6bc264d2c2e0afd8a65220e2640b742b88b/src/fetch/defines.ts#L47)|
20
-
|`responseType?`|[`FetchResponseType`](../type-aliases/FetchResponseType.md)| Specifies the expected response type of the fetch request. |[defines.ts:52](https://github.com/JiangJie/fetch-t/blob/6db6e6bc264d2c2e0afd8a65220e2640b742b88b/src/fetch/defines.ts#L52)|
21
-
|`timeout?`|`number`| Specifies the maximum time in milliseconds to wait for the fetch request to complete. |[defines.ts:57](https://github.com/JiangJie/fetch-t/blob/6db6e6bc264d2c2e0afd8a65220e2640b742b88b/src/fetch/defines.ts#L57)|
19
+
|`abortable?`|`boolean`| Indicates whether the fetch request should be abortable. |[defines.ts:47](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L47)|
20
+
|`responseType?`|[`FetchResponseType`](../type-aliases/FetchResponseType.md)| Specifies the expected response type of the fetch request. |[defines.ts:52](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L52)|
21
+
|`timeout?`|`number`| Specifies the maximum time in milliseconds to wait for the fetch request to complete. |[defines.ts:57](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L57)|
Copy file name to clipboardExpand all lines: docs/interfaces/FetchTask.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ Defines the structure and behavior of a fetch task, including the ability to abo
18
18
19
19
| Property | Modifier | Type | Description | Defined in |
20
20
| ------ | ------ | ------ | ------ | ------ |
21
-
|`aborted`|`readonly`|`boolean`| Indicates whether the fetch task has been aborted. |[defines.ts:27](https://github.com/JiangJie/fetch-t/blob/6db6e6bc264d2c2e0afd8a65220e2640b742b88b/src/fetch/defines.ts#L27)|
22
-
|`response`|`readonly`|[`FetchResponse`](../type-aliases/FetchResponse.md)\<`T`\>| The response of the fetch task, represented as an `AsyncResult`. |[defines.ts:32](https://github.com/JiangJie/fetch-t/blob/6db6e6bc264d2c2e0afd8a65220e2640b742b88b/src/fetch/defines.ts#L32)|
21
+
|`aborted`|`readonly`|`boolean`| Indicates whether the fetch task has been aborted. |[defines.ts:27](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L27)|
22
+
|`response`|`readonly`|[`FetchResponse`](../type-aliases/FetchResponse.md)\<`T`\>| The response of the fetch task, represented as an `AsyncResult`. |[defines.ts:32](https://github.com/JiangJie/fetch-t/blob/8806bee244ff033abe18991d72f4e6f862cf2c99/src/fetch/defines.ts#L32)|
23
23
24
24
## Methods
25
25
@@ -43,4 +43,4 @@ Aborts the fetch task, optionally with a reason for the abortion.
0 commit comments