webstomp-client错误代理连接已关闭

时间:2019-12-16 09:45:18

标签: reactjs sockets websocket sockjs web-stomp

在连接到websocket时,几秒钟后出现错误: 哎呀!断开与wss:// ...

的连接

使用导入的webstomp,{client}来自“ webstomp-client”;

& webstomp.client(url,{debug:true,heartbeat:{incoming:10000,outgoing:10000});

仅pong可见,ping不在控制台中显示。

enter image description here

0 个答案:

没有答案