How to disable debug messages on sockjs- STOMP

后端 未结 2 1781
予麋鹿
予麋鹿 2021-01-31 07:42

I have the follow situation:

 var options = {
        protocols_whitelist : [ \"websocket\", \"xhr-streaming\", \"xdr-streaming\", \"xhr-polling\", \"xdr-polling         


        
2条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 07:59

    I tried JR's answer but started receiving errors (was using redux sagas) - changing debug to an empty function worked ...

    stompClient.debug = () => {};
    

提交回复
热议问题