flutter_socket_io
flutter_socket_io copied to clipboard
get more variables from node.js emit
Describe the bug when my node.js server tries to emit more than one varriable , i get no response on client side, just it says eventName is triggered;
Have you tried reproducing the issue with example available in this repo? Yes
To Reproduce
just try to emit more variables like
io.to(room_id).emit('fetch_messages', "112233", "55223344");
Expected behavior be able to get more than one variable as a callback
_socket.on("fetch_messages", (msg1,msg2) {
debugPrint("onFetchMessages $msg1 $msg2", wrapWidth: 1024);
});
like :