socket.io-mongodb
socket.io-mongodb copied to clipboard
Adding custom objects
Hi there,
Thank you for the library. Works great.
Would it be possible to add custom objects to the document? I'm asking because I like to record a user_id and the socket.id. I can do it with an additional collection, but since your library is already connecting to the DB, I figured it could be done at the same time.
Makes sense? Possible?
Thank you.