mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
42 lines
896 B
Markdown
42 lines
896 B
Markdown
[youtubei.js](../../../README.md) / [Utils](../README.md) / debugFetch
|
|
|
|
# Function: debugFetch()
|
|
|
|
## debugFetch(input, init)
|
|
|
|
> **debugFetch**(`input`, `init`?): `Promise`\<`Response`\>
|
|
|
|
[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch)
|
|
|
|
### Parameters
|
|
|
|
• **input**: `URL` \| `RequestInfo`
|
|
|
|
• **init?**: `RequestInit`
|
|
|
|
### Returns
|
|
|
|
`Promise`\<`Response`\>
|
|
|
|
### Defined in
|
|
|
|
[src/utils/Utils.ts:207](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/utils/Utils.ts#L207)
|
|
|
|
## debugFetch(input, init)
|
|
|
|
> **debugFetch**(`input`, `init`?): `Promise`\<`Response`\>
|
|
|
|
### Parameters
|
|
|
|
• **input**: `string` \| `URL` \| `Request`
|
|
|
|
• **init?**: `RequestInit`
|
|
|
|
### Returns
|
|
|
|
`Promise`\<`Response`\>
|
|
|
|
### Defined in
|
|
|
|
[src/utils/Utils.ts:207](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/utils/Utils.ts#L207)
|