How can I send larger messages over WebSocket? How can I send larger messages over WebSocket? google-chrome google-chrome

How can I send larger messages over WebSocket?


WebSocket messages can be of any size. However, large messages are usually transmitted in multiple parts (fragments) to avoid head-of-line blocking. See the WebSockets I-D for details.


I know for a fact that you can send messages larger than 126 characters,
I am able to send data over protobuf that contains strings that themselves contain 126 characters.http://www.websocket.org/echo.html
If you look at this website you can test out your messages. (Note this does not use fragments)


That is not correct what you said DTB. Sending should definitely support more than 126 chars. It is a matter of properly formatting your output. If we were limited to 126 chars there would be no signalling servers for WebRTC. I will code this send message function and post it on here when I finish.