神岛 API 文档 - ArenaPro版
Preparing search index...
server/types/GameAPI
GameHttpFetchRequestOptions
Type Alias GameHttpFetchRequestOptions
type
GameHttpFetchRequestOptions
=
{
body
?:
string
|
ArrayBuffer
;
headers
?:
GameHttpFetchHeaders
;
method
?:
"OPTIONS"
|
"GET"
|
"HEAD"
|
"PUT"
|
"POST"
|
"DELETE"
|
"PATCH"
;
timeout
?:
number
;
}
Index
Properties
body?
headers?
method?
timeout?
Properties
Optional
body
body
?:
string
|
ArrayBuffer
请求体
Optional
headers
headers
?:
GameHttpFetchHeaders
请求头
Optional
method
method
?:
"OPTIONS"
|
"GET"
|
"HEAD"
|
"PUT"
|
"POST"
|
"DELETE"
|
"PATCH"
请求方法
Optional
timeout
timeout
?:
number
请求超时时间,单位为毫秒
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
body
headers
method
timeout
神岛 API 文档 - ArenaPro版
Loading...
请求体