• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 6 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0021 秒)

1. native下HttpRequest设置超时无效 [ 100%]

...时设置超时: var httpRequest = new HttpRequest(); httpRequest.http.timeout = 3000; 在做http请求时,如果丢包了,那么这个请求要很久(超过1分钟)才会返回失败。   请教下有碰到过这个问题的同学吗,是怎么解决的呢? 附件 : --> 2020-11-13 添加...

来源: Laya_社区 发布时间: 20201113

2. [LayaNative2.0] Laya.HttpRequest 怎么设置 timeout [ 97%]

[LayaNative2.0] Laya.HttpRequest 怎么设置 timeout 已经设置 request.http.timeout 无效。请求支援 2020-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...

来源: Laya_社区 发布时间: 20200405

3. Cannot connect to runtime process, timeout after 10000 ms [ 93%]

Cannot connect to runtime process, timeout after 10000 ms 参照例子新建了一个TS项目,可以用layaair调试,但无法使用chrome调试。报错: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: undefined).   1.已经试过任务管...

来源: Laya_社区 发布时间: 20170427

4. native 下 http设置超时无效 [ 84%]

...ive 2.5  引擎 2.5    在网页下面打印 http 属性名,是有 ontimeouttimeout    但是到native上打印是没有这2个属性名的,导致了在native上设置超时是没用的,就会导致网络阻塞,然后过很久消息就会一股脑全部返回过来 2020-11-19 添...

来源: Laya_社区 发布时间: 20201119

5. 排坑:Laya.HttpRequest()无效 [ 80%]

... console.log("开始测试"); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, processHandler); xhr.send("http://www.baidu.com", "", "get", "text...

来源: Laya_社区 发布时间: 20180208

6. 关于LayaBox启动的问题。 [ 53%]

...401): [CTRL_IFACE] wlan0: 'SIGNAL_POLL' E/LayaBox (12689): download error: timeout, dt=8,opttimeout=1798 I/LayaBox (12689): Downloaded http://192.168.137.1/public/sh ... tf%40 s=0 l=0 I/LayaBox (12689): onerror UnknownError I/LayaBox (12689): Download [ ]:http://runtime.layabox.com/font/simhei.ttf I...

来源: Laya_社区 发布时间: 20170320