You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the javascript socket.io, if fn is the server's callback question to the client, calling fn() will send a blank response to the client. Is there a way to do that with this library? I've tried all I can think of, but it always sends at least true, false, or null, but never just blank like the original socket.io. Is this a limitation of this library or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
It's a bug, you are right. If you don't return anything, the library will call the callback function with (null). One way to trick it into doing the right thing is, I think, to return an empty tuple:
With the javascript socket.io, if fn is the server's callback question to the client, calling fn() will send a blank response to the client. Is there a way to do that with this library? I've tried all I can think of, but it always sends at least true, false, or null, but never just blank like the original socket.io. Is this a limitation of this library or am I doing something wrong?
The text was updated successfully, but these errors were encountered: