0

Is there a way to get wildcards to work on the client as well?

Example:

var connection = require('socket.io-client')('http://localhost:3000');

connection.on("*", function(data) {
    console.log(data);
});

There's topics regarding this already, but they don't seem to work with the latest version of the client (1.4.7)

EDIT:

The current implementations https://stackoverflow.com/a/33960032/1372517 works, Reason it didn't work for me is because I'm using Electron + Angular and the angular implementation of socket.io prevented me from doing this.

Community
  • 1
  • 1
Makkesk8
  • 152
  • 1
  • 3
  • 13

0 Answers0