When I use chrome or firefox browser as client, and send a base64 image string with websocket.send(my_base64_image_string) method, chrome (or firefox) sends the data in many fragments, so no problem.
But when I look the fragments received by my websocket server, I notice that the first byte of the first fragment equals 129, that is say “10000001” in binary.
So that means that the first fragment has a FIN equals 1 and opcode equals 1 (“Text Frame”) instead of 0 (“Continuation Frame”), so that means that the first fragment is like a complete message, not a part of a fragmented message.
So does chrome (or firefox) not support sending large data ?
1