HttpClient
¶
文档版本:1.21.60.21
HttpClient
类。script_api.minecraft/server-net.httpclient.description
方法¶
cancelAll
script_api.minecraft/server-net.httpclient.cancelall.description
reason
:string
- script_api.minecraft/server-net.httpclient.cancelall.reason.description
- 返回值:
void
- script_api.minecraft/server-net.httpclient.cancelall.return
get
script_api.minecraft/server-net.httpclient.get.description
uri
:string
- script_api.minecraft/server-net.httpclient.get.uri.description
- 返回值:
Promise<HttpResponse>
- script_api.minecraft/server-net.httpclient.get.return
request
script_api.minecraft/server-net.httpclient.request.description
config
:HttpRequest
- script_api.minecraft/server-net.httpclient.request.config.description
- 返回值:
Promise<HttpResponse>
- script_api.minecraft/server-net.httpclient.request.return