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

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

11. http在手机端上请求返回404 [ 78%]

...server] 10000(用户-登录验证-token登录), -2(系统-http错误), err=Request failed Status:404 text:undefined 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: Lay...

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

12. iOS wkWebView [ 77%]

...ivate connect(): void { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send(...

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

13. http劫持 [ 73%]

...manager的情况下不好协调。 手机调试时http请求错误,返回Request failed Status:0 怎么使用http请求 问题状态 最新活动: 2017-06-26 11:02 浏览: 1345 关注: 3 人 贺杰 • 2020-07-14 13:26 如果打包APK http被挟持了要怎么办呢

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

14. 求HTTP相关的文档或者例子谢谢了 [ 71%]

...ete",BIND$(this,this.checkListComp));             this.url=new URLRequest("wished.php");             this.url.method=/*iflash.net.URLRequestMethod.POST*/"POST";             var values=new URLVariables();             this.url.data=values;             this....

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

15. 为什么新建一个项目后,什么都没添加,直接点运行就报错?? [ 64%]

...加,直接点运行就报错?? laya.core.js:23023 Access to XMLHttpRequest at 'file:///Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-exten...

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

16. HttpRequest在firefox里面执行正常在ios出现err [ 64%]

HttpRequest在firefox里面执行正常在ios出现err layaair使用了httpRequest获取json数据,在firefox里正常,但是用了ios自带的safari就出现err,报错是request failed status:0 我的学习作品地址是http://www.mubugu.com/test/poker/bin/index.html 大家可以试试看...

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

17. 引擎中的修改意见 [ 63%]

...t = text.replace("{" + i + "}", args[i]); } this._text = text; } } 3、HTTPRequest中错误输出:前面的statusstatusText都是空的 根本打印不出任何东西。 /** * @private * 请求出错侦的听处理函数。 * @param e 事件对象。 */ protected function _onError(e:*):void { e...

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

18. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 60%]

...151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1...

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

19. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 49%]

# HttpRequest详解 在项目中我们难免会有发送http请求的需求,在LayaAir引擎中HttpRequest就是我们发送请求的基本类。HttpRequest类其实包装的就是原生的`XMLHttpRequest`,为了开发者更深入的了解这个类,我们先从XMLHttpRequest 开始。 ## 原...

来源: Laya2.0_文档 发布时间: 20210714

20. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 49%]

# HttpRequest详解 在项目中我们难免会有发送http请求的需求,在LayaAir引擎中HttpRequest就是我们发送请求的基本类。HttpRequest类其实包装的就是原生的`XMLHttpRequest`,为了开发者更深入的了解这个类,我们先从XMLHttpRequest 开始。 ## 原...

来源: Laya2.0_文档 发布时间: 20210715