函数:http.setTimeout 设置请求超时间

函数名称:设置请求超时时间

函数功能:发送 http.get/http.post 类型请求设置请求超时时间

函数方法

http.setTimeout(sec);

参数 类型 必填 说明
sec number 超时时间,单位为秒
Copyright 北京帮你玩科技有限公司 2023 all right reserved,powered by Gitbook该文章修订时间: 2024-03-06 17:50:18

results matching ""

    No results matching ""