Closed dantetemplar closed 5 months ago
What is this trying to address? Date and datetime objects are not serializable. You should not use them in Socket.IO payloads.
They are serializable effectively under msgpack transport, but some arguments needed to be passed.
That is also true of any data type, and also possible to configure with JSON. But I prefer to avoid custom serializations. You can still use your custom packet class by passing it in the serializer
argument when you create your server and client.
What is this trying to address? Date and datetime objects are not serializable. You should not use them in Socket.IO payloads.