大约有 196 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0034 秒)
Laya_社区(162) Laya2.0_文档(15) Laya3.0_文档(7) Laya_示例(3) Laya2.0_示例(3) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...String());}); console.log("http timeout test: start post"); hr.send(url, "", "post"); }); 如上代码,这个url地址会在收到请求sleep10秒然后返回一个504错误码。 在网页上运行时,timeout参数能够正常工作,输出如下 但是当打包到app上面运...
来源: Laya_社区 发布时间: 20171016
...arren 赞同来自: 这样写就发出去了 public function send(msg:Message):void{ trace("发送消息:",msg); output = this.socket.output; output.writeUint16(getCode(msg)); var bytes:WritingBuffer ...
来源: Laya_社区 发布时间: 20180328
... callback(JSON.parse(hr.data)); }); hr.send(url, JSON.stringify(data), 'post', 'text', ['content-type', 'application/json;charset=UTF-8', "sessionid", this.sessionId]); 其中,['content-type', 'application/json;charset=UTF-8', "sessionid", this.sessionI...
来源: Laya_社区 发布时间: 20190829
....xml文件的问题 项目需要重远程接收一个.xml文件 hrRerust.send("http://192.168.1.21:90/Game_Config.xml", null, "get", "text",null); trace(hrRerust.data); 该语句可以读取上面.xml文件的内容 但是 我用了一些方法 都无法像本地.xml被解析后存...
来源: Laya_社区 发布时间: 20161120
...5 GET https://official.layabox.com/g ... 55948 net::ERR_CONNECTION_REFUSED send @ jquery.js?v=laya_20170705:9645 ajax @ jquery.js?v=laya_20170705:9173 getNav @ layadownload.js?v=laya_20170705:70 getUrlParam @ layadownload.js?v=laya_20170705:66 (anonymous) @ layadownload.js?v=laya_20170705:30 dispatc...
来源: Laya_社区 发布时间: 20170710
...iteArrayBuffer(buffer); //把打包好的数据附加在最后 this.socket.send(pkg.buffer); // 这里是发送的地方,记得一定要用.buffer的方式 yhcliang • 2017-11-06 13:31 @aidimiebear:谢谢,我也已经处理好了。
来源: Laya_社区 发布时间: 20171018
...s = []; headers.push("Content-Type"); headers.push("application/json"); hr.send('http://xxxxxxxxxxxxxxxxxx', JSON.stringify(data), 'post', 'json',headers);<strong></strong> 浏览器 可以正常 访问 返回数据 alert("onHttpRequestComplete--hr"+JSON.stringify(hr.data.zhhResult.p...
来源: Laya_社区 发布时间: 20170620
... hr.once(Event.ERROR, this, onHttpRequestError); hr.send(NameJosn, null, 'get', 'xml'); function method():void trace(hr.data) } hr.data 返回结果是 如何获得 比如id:10000 的节点属性? ...
来源: Laya_社区 发布时间: 20160626
...for protocol schemes: http, data, chrome, chrome-extension, https. __proto.send @ laya.core.js:23023 laya.core.js:23075 /Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json Request failed Status:0 text: __proto.error @ laya.core.js:23075 laya.core.js:25049 [warn]Retry to load: version.json ...
来源: Laya_社区 发布时间: 20190718
...post发送数据的时候内容被改变 let r = new Laya.HttpRequest(); r.send(`${AppConfig.apiUrl}/account/login`, 'NDIlNUIlMjJjaGF0JTIyJTJDJTdCJTIyZnJvbSUyMiUzQTEwNDQx', "post", "text"); post数据 :NDIlNUIlMjJjaGF0JTIyJTJDJTdCJTIyZnJvbSUyMiUzQTEwNDQx 在LayaHttpClient.java中打断点 ...
来源: Laya_社区 发布时间: 20240313