There needs to be a wildcard feature in event handling
Problem
Note: The 'anything' event in docs can be confused as a global event, but of course isnt. There should exist something to the effect of: [code block] See: http://stackoverflow.com/questions/10405070/socket-io-client-respond-to-all-events-with-one-handler http://stackoverflow.com/questions/32552155/how-do-i-handle-all-incoming-socket-events-rather-than-a-specific-one http://stackoverflow.com/questions/32552481/did-the-socket-io-global-event-end-up-in-release?noredirect=1#comment52961409_32552481 Because there's no support for this, developers are having to modify Socket.io client side (note, the node.js patch for this is not applicable client side) with code like this: [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: There needs to be a wildcard feature in event handling
Also, many people seem to agree that this should be a native feature.
Trust Score
2 verifications
- 1
Also, many people seem to agree that this should be a native feature.
Also, many people seem to agree that this should be a native feature.
Validation
Resolved in socketio/socket.io GitHub issue #2243. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep