UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

21 lines (12 loc) 895 B
[**minigame-std**](../README.md) *** [minigame-std](../README.md) / MinaFetchInit # Interface: MinaFetchInit 微信小游戏网络请求初始化配置接口,继承自微信小游戏请求选项,除去'url''responseType'## Extends - `Omit`\<`WechatMinigame.RequestOption`, `"url"` \| `"dataType"` \| `"responseType"` \| `"success"` \| `"fail"`\> ## Properties | Property | Type | Defined in | | ------ | ------ | ------ | | `onChunk?` | (`chunk`: `Uint8Array`\<`ArrayBufferLike`\>) => `void` | [src/std/fetch/fetch\_defines.ts:8](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fetch/fetch_defines.ts#L8) | | `responseType?` | `"arraybuffer"` \| `"text"` \| `"json"` | [src/std/fetch/fetch\_defines.ts:7](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fetch/fetch_defines.ts#L7) |