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

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

51. 排坑:Laya.HttpRequest()无效 [ 56%]

... 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

52. 程序调试10秒钟后报错 [ 56%]

...错 程序调试10秒钟后报错:   Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a target that matches: d:\install\LayaBox\workspace\AirWar_Class11/bin/index.html.Available pages:["file:///D:/install/LayaBox/workspace/AirWar_Class11/bin/index.html"]) 附件 : -->...

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

53. App websocket out of memory [ 55%]

...websocket out of memory //这种方式短时间内没发现会崩溃 // setTimeout(()=>{ // this.testWebSocket(); // },3000); }); client.on(PinusWSClientEvent.EVENT_HEART_BEAT_TIMEOUT, (event) => { }); client.on(PinusWSClientEvent.EVENT_KICK, (event) => { }); let self = this; client.init({h...

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

54. Laya.HttpRequest 没有调用回调方法? [ 55%]

...化引擎 Laya.init(1136,640); 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("https://www.baidu.com/","","get","text"); fu...

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

55. 官方的示例贴上来,怎么没反映啊 [ 54%]

...on JiHuo() { JiHuo.super(this); 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("https://api.weixin.qq.com/cgi- ... ot...

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

56. 项目启动之后,就会产生这样的崩溃问题,运行不了了 [ 54%]

...这样的崩溃问题,运行不了了 Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a target that matches: file:// 附件 : --> 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...

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

57. socket.io 打包之前layaair,网页都是正常,构建xcode项目之后连接不上 [ 54%]

...不上 this.socket = io.connect('http://www.loveswift.top:3001/',{'connect timeout': 20}); 2017-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: Sunny_zhao 看下这个帖...

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

58. 360极速浏览器的兼容模式报错 SCRIPT5022: InvalidStateError [ 54%]

...个问题,原因是因为在HttpRequest  发送send 数据前 调用了timeout 属性。 找了下解决方案, https://gitlab.com/meno/dropzone/issues/8 https://github.com/stephanebac ... ues/5 2019-01-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

59. HttpRequest感觉没有发成功 [ 54%]

...化引擎 Laya.init(1136,640); 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("https://www.baidu.com","","get","text"); fun...

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

60. native 下 http设置超时无效 [ 54%]

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

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