Websocket will be disconnected when the transmission data is large.

recently, you need to send a picture in base64 format using websocket (the file is relatively large.), socket will send the data this time, then disconnect it (if I detect a disconnection, I will create a new connection), send it in a new connection, and then break it and then create a new connection.
is there any solution to this situation at my front end? please consult you

.
1009    CLOSE_TOO_LARGE    .



try to upload file streams in segments


gluing and unpacking, Socket packets

Menu