How much data can I send through a socket.emit?
As of v3, socket.io has a default message limit of 1 MB. If a message is larger than that, the connection will be killed. You can change this default by specifying the maxHttpBufferSize option, but consider the following (which was originally written over a decade ago, but is still relevant): Node and socket.io don’t have … Read more