minigame-std
GitHub
npm
JSR
Preparing search index...
MinaFetchInit
Interface MinaFetchInit
微信小游戏网络请求初始化配置接口,继承自微信小游戏请求选项,除去'url'和'responseType'。
interface
MinaFetchInit
{
onChunk
?:
(
chunk
:
Uint8Array
)
=>
void
;
responseType
?:
"json"
|
"text"
|
"arraybuffer"
;
}
Hierarchy
Omit
<
WechatMinigame.RequestOption
,
"url"
|
"dataType"
|
"responseType"
|
"success"
|
"fail"
,
>
MinaFetchInit
Index
Properties
on
Chunk?
response
Type?
Properties
Optional
on
Chunk
onChunk
?:
(
chunk
:
Uint8Array
)
=>
void
Optional
response
Type
responseType
?:
"json"
|
"text"
|
"arraybuffer"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
on
Chunk
response
Type
GitHub
npm
JSR
minigame-std
Loading...
微信小游戏网络请求初始化配置接口,继承自微信小游戏请求选项,除去'url'和'responseType'。