大约有 196 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0036 秒)
Laya_社区(162) Laya2.0_文档(15) Laya3.0_文档(7) Laya_示例(3) Laya2.0_示例(3) laya_api(2) Laya3.0_api(2) Laya2.0_api(2)
...fBody.writeInt32(9); buffBody.writeInt32(100); buffBody.writeByte(1); conn.send("http://10.0.1.139:9000", buffBody.buffer, "post", "arraybuffer",null); } Byte的length长度输出为9 对面的JAVA服务器解析出来为16 我就算改成只writeByte一次,服务器解析出来大小也是8 我...
来源: Laya_社区 发布时间: 20160726
...ket.connect(“192.168.0.1.133”,8899); console.log("kjk"); this.socket.send("hello world");//这是发送字符串的形式。 //报错TypeError: Cannot read property 'send' of undefined // at Btn1.Btn1On (file:///K:/laya/mylaya11/bin/js/Btn1.js:21:20) // at EventHandler.__proto.runWit...
来源: Laya_社区 发布时间: 20180210
...OR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler); var sendData = {account:"aaa",password:"bbb"} xhr.send("http://xxx/login", JSON.stringify(sendData), "post", "json", ["content-type","application/json"]); function processHandler(data){ console.log (data) } function comple...
来源: Laya_社区 发布时间: 20180824
...@ laya.core.js:12540 http.onload @ laya.core.js:12499 load (async) __proto.send @ laya.core.js:12498 __proto.load @ laya.core.js:12692 Laya3D._loadMesh @ laya.d3.js:18661 __proto.load @ laya.core.js:12662 __proto._doLoad @ laya.core.js:13328 __proto._next @ laya.core.js:13301 __proto._createLoad @ l...
来源: Laya_社区 发布时间: 20180731
request failed status:0 HttpRequest.send问题 浏览器可以COMPLETE,手机上ERROR:request failed status:0 2018-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 1、If the st...
来源: Laya_社区 发布时间: 20180105
...} console.log("copy end"); this.socket.send(b); console.log("send end"); this.socket.flush(); 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170628
...nnect connectByUrl event flush hasListener off offAll offAllCaller on once send Constructors constructor new Socket(host?: string | null, port?: number, byteClass?: {}, protocols?: any[] | null, isSecure?: boolean): Socket Defined in laya/net/Socket.ts:106 创建新的 Socket 对象。默认字节...
来源: Laya3.0_api 发布时间: 20231115
..., data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json firstGame.max.js:9742 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/...
来源: Laya_社区 发布时间: 20170108
... window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是用了浏览器自身提供的方法来把二进制转换成图片,二进制转换成图片其实还有很多种方法,比如加载进来二进制,解码成base64,然后再赋值给你...
来源: Laya2.0_文档 发布时间: 20210715
...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