gcrabtree / react-native-socketio

Not Maintained! A React Native wrapper for both the Swift and Java Socket.Io clients.
MIT License
152 stars 53 forks source link

when use emit #11

Open Darkhorse-Fraternity opened 8 years ago

Darkhorse-Fraternity commented 8 years ago

when use emit like: http://stackoverflow.com/questions/35473852/android-jsonobject-api16-api22-copy-from-hashmap-differs

davidperrenoud commented 8 years ago

What do you mean? You can emit a JSON like this:

socket.emit('some_event', { some_key: 'some value' })