nix buf
This commit is contained in:
parent
a9e562a191
commit
4d9dcdd7c6
|
@ -69,7 +69,7 @@ return;
|
||||||
var handlers = {
|
var handlers = {
|
||||||
onmessage: function (opts) {
|
onmessage: function (opts) {
|
||||||
var cid = addrToId(opts);
|
var cid = addrToId(opts);
|
||||||
console.log('[wsclient] onMessage:', cid, opts);
|
console.log('[wsclient] onMessage:', cid);
|
||||||
var service = opts.service;
|
var service = opts.service;
|
||||||
var port = services[service];
|
var port = services[service];
|
||||||
var lclient;
|
var lclient;
|
||||||
|
@ -144,7 +144,7 @@ return;
|
||||||
, onend: function (opts) {
|
, onend: function (opts) {
|
||||||
var cid = addrToId(opts);
|
var cid = addrToId(opts);
|
||||||
console.log("[end] '" + cid + "'");
|
console.log("[end] '" + cid + "'");
|
||||||
handlers._onend(cid, opts);
|
handlers._onend(cid);
|
||||||
}
|
}
|
||||||
, onerror: function (opts) {
|
, onerror: function (opts) {
|
||||||
var cid = addrToId(opts);
|
var cid = addrToId(opts);
|
||||||
|
|
Loading…
Reference in New Issue