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

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

31. socket大型项目回调 [ 51%]

...} private initWebSocket(host,port,cb:Function):void{ console.log("[Pomelo] connect to:",host,port); this.socket = new Laya.Socket(); //用的子协议,字符串或数组 // this.socket.protocols = egret.WebSocket.TYPE_BINARY; this.socket.on(Laya.Event.OPEN, this, this.onConnect); this.socket.on(La...

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

32. 手机调试时http请求错误,返回Request failed Status:0 [ 50%]

...)=>{ UIFactory.showWaitBar(LayaWrap.creatHandlerCall(this,()=>{ this.connect(handleOk,handleFail); })) }), LocalTxt.getText("请求失败")+":"+e); } }); LogUtil.info(this.urlString,this.methodString,this.responseType,this.dataAny); hr.send(this.urlString, this.dataAny, this.methodString, this...

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

33. 打包成APK后,POST请求会先去Download请求的地址 [ 46%]

...hel1314 • 2018-03-16 16:04 @guozhaokui:在浏览器里响应的http头里Connection 是keep-alive的,不知道laya的http请求支持不支持。 hel1314 • 2018-03-16 16:07 @guozhaokui:刚刚用抓包工具分析,从第一个TCP的报文发出到最后整个http请求结束时间在十几毫...

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

34. 新手常问问题 欢迎补充 [ 41%]

...自: 5. 常见ide错误提示 https://ask.layabox.com/question/4562 Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a target that matches: file:// https://ask.layabox.com/question/12302   2018-03-08 0 0 分享 微博 QZONE 微信 qian 赞同来自: 6.添加第三方...

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

35. 网络通信 · LayaAir3.0文档 · LAYABOX [ 39%]

...收文本和二进制数据。我们先来了解下 Socket 的用法 3.1.1 Connect 服务器 Socket 连接服务器有三种方式: 方式 说明 构造函数传参 立即连接 比如 new Socket(“192.168.1.2”,8899);注意这里的host参数没有ws前缀。 connect方法 传递url和端口...

来源: Laya3.0_文档 发布时间: 20230719

36. dcc下载超时 [ 38%]

...): Use EGL_SWAP_BEHAVIOR_PRESERVED: true 07-04 20:55:27.095: D/(7884): HostConnection::get() New Host Connection established 0xad5e3cd0, tid 7884 07-04 20:55:27.111: D/(7884): >>>>>>>>>>>>>>>>>>>>>>>> 07-04 20:55:27.117: E/LayaG...

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

37. lib/arm/liblayaair.so 总是崩溃 [ 7%]

... (pid 22228) has died 08-14 10:57:51.296 3526-3884/? D/WifiService: Client connection lost with reason: 4 08-14 10:57:51.296 3526-4796/? I/WindowState: WIN DEATH: Window{ea8780d u0 com.yywgames.wpby.cn/com.ygames.buyugl.zh.MainActivity} 08-14 10:57:51.297 3526-4798/? D/GraphicsStats: Buffer count: 1...

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