flutter_socket_io icon indicating copy to clipboard operation
flutter_socket_io copied to clipboard

get more variables from node.js emit

Open Saifallak opened this issue 4 years ago • 0 comments

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 :

Saifallak avatar Sep 15 '19 16:09 Saifallak