大约有 26 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0035 秒)
...,说是字节长度问题。 How long are the message you are trying to send If it's larger than 125 bytes you need to encode the length in a different manner i.e you must take the extended payload length into consideration. – Cyclonecode Jul 7 '15 at 10:22 Right, of course, so i need to use...
来源: Laya_社区 发布时间: 20180612
...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
...率触发error事件 Status:0 在微信开发者工具中,调用 request.send(url + method, data, "post", "json", ["Content-Type","application/json","Authorization", "Bearer " + PlayerModel.Instance.token]); 大部分时候正常 但有20%的几率会触发error事件回调,收到的message...
来源: Laya_社区 发布时间: 20180330
...aMaxUI.ts 并没有变化…… 微信小游戏 websocket错误 SocketTask.send:fail SocketTask.readState is not OPEN 有关window open问题 微信小游戏websocket open事件异常 用微信开发工具运行, 报错,ENOENT: no such file or directory, open 'release\wxgame\GameMain.js.map'' La...
来源: Laya_社区 发布时间: 20171110
...twbuyu.com:27777"); ws.onopen = function() { alert("connect success~"); ws.send('tom'); alert("send to server msg: tom"); }; ws.onmessage = function(e) { alert("accpet msg: " + e.data); }; ws.onerror = function(e) { alert("error: " + e); console.log(e) }; </script> </body> </html> ...
来源: Laya_社区 发布时间: 20181018
... this.socket.on(Laya.Event.ERROR, this, this.errorHandler); // this.socket.send("hello world");//###################################################### } private openHandler(event: any = null): void { //正确建立连接; console.log("建立连接");//*********************************************...
来源: Laya_社区 发布时间: 20180211
...x1080694 06-09 11:48:56.974 1654-1654/? D/StatusBar.MSimNetworkController: Send a message to refresh views 1s later! 06-09 11:48:56.974 1654-1654/? D/StatusBar.MSimNetworkController: refreshdata connected={ wifi } level=0 mMSimcombinedSignalIconId=0x7f0203c5/com.android.systemui:drawable/stat_sys_wi...
来源: Laya_社区 发布时间: 20170609
...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
....connectByUrl("ws://127.0.0.1:9000");//建立连接; } } public function send(msg:String):void { if(this.socket.connected){ var byte:Byte = new Byte(); byte.writeUTFString(msg); this.socket.send(byte.buffer); } } private function openHandler(event:Object = null):void { //正确建立连接; trac...
来源: Laya_社区 发布时间: 20180202
...nt.binderDied(WindowState.java:1051) at android.os.BinderProxy.sendDeathNotice(Binder.java:493) at dalvik.system.NativeStart.run(Native Method) 07-16 13:28:37.152 402-748/? I/WindowState: WIN DEATH: null 07-16 13:28:37.232 670-670/? W/EGL_emulation: eglSurfaceAttrib not imple...
来源: Laya_社区 发布时间: 20190716