How can I send larger messages over WebSocket?

前端 未结 3 1220
温柔的废话
温柔的废话 2021-01-05 08:04

I am developing a WebSocket server with C# and I noticed that all the messages that coming from the browser (Chrome in that case) using the send() method are 126 chars lengt

3条回答
  •  忘掉有多难
    2021-01-05 08:27

    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.

提交回复
热议问题