the titel says it all – is there a maximum size for an event (or message) i want to send from the server to the client?
i want to send a json string to the client and it looks something like this:
[{"id":"4e25434f0f110ec101000005","media":"4fb135d508e972664c5adf3.jpg"},
{"id":"4e2545f30f110ec101000021","media":"d09b745414e251695aa33e04.jpg"},
{"id":"4e2554ce7bcfb24702000012","media":"076eea872411e433b9.png"},
{"id":"4e255bc4f34a41cb02000010","media":"c2af3db4707db3ece.png"}]
if the array would contain e.g. 200 items, would this crash?!
It would not crash, I accidentally send a array of 250 extreme large objects over Socket.IO and it handled it without any issues.
You can just see it as sending a JSON object of 250 items over a http request, it could just take a while for the user to download it all.. Thats basically the only limitation you would be having.