mirror of
https://github.com/balkian/SOJA.git
synced 2025-09-02 03:12:21 +00:00
Updated conversion and example
This commit is contained in:
@@ -3,7 +3,7 @@ io.sockets.on('connection', function (socket) {
|
||||
console.log("New connection!");
|
||||
socket.on('test', function (data,ack) {
|
||||
console.log(data);
|
||||
ack("hola");
|
||||
ack({"success":"yes"});
|
||||
console.log("I acked");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user