You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
I check the souce code. And found that error frame and close event share the same callback.Shouldn't we use two different function since they are different case.For now i have to use connect failed callback function below:
functioncallback(evtOrFrame){if(evtOrFrame){if(evtOrFrame.hasOwnProperty("type")&&evtOrFrame["type"]==="close"){//do something with close event obj}elseif(evtOrFrame.command==="ERROR"){// do something with error frame obj}}}
The text was updated successfully, but these errors were encountered:
I check the souce code. And found that error frame and close event share the same callback.Shouldn't we use two different function since they are different case.For now i have to use connect failed callback function below:
The text was updated successfully, but these errors were encountered: