WebSocket消息在Mozilla Firefox中变成了怪异的角色(WebSocket message turns into weird characters at Mozilla Firefox)
我们试图在Firefox中通过WebSocket发送消息,但是当消息超过一定长度时,它会变成奇怪的字符,如:
��无论如何设置此缓冲区长度或方式除了将消息作为部分发送之外?
We're trying to send a message via WebSocket in Firefox but when message exceeds some length it turns into weird characters like:
��Is there anyway to set this buffer length or way out of this except sending the message as parts?
最满意答案
这真的很奇怪但是,我们需要在发送消息之前重新握手。
这解决了我们的问题。
It's really weird but, we needed to rehandshake before sending our message.
That solved our problem.
更多推荐
发布评论