How to disable debug messages on sockjs- STOMP

后端 未结 2 1788
予麋鹿
予麋鹿 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 08:00

    Ok I found a solution.

    I added this code:

    stompClient.debug = null
    

    In this way, the debug function is disabled.

提交回复
热议问题