If we uncomment interesting line in the server demo we will get an error Cannot serialize unidentified object [[object Object]].
The question is where should we add serialization/deserialization of user messages? Does the server API has special Socket.emiy function that take serialization function too? I'm not sure what do you expect from users....
If we uncomment interesting line in the server demo we will get an error
Cannot serialize unidentified object [[object Object]].
The question is where should we add serialization/deserialization of user messages? Does the server API has specialSocket.emiy
function that take serialization function too? I'm not sure what do you expect from users....