react-stomp
react-stomp copied to clipboard
Add method reconnect
Could you add a method "reconnect"?
Calling connect
for reconnect will work. The method only connects if state is disconnected
I need to do reconnect when my authToken changes. Сonnect in this case does not fit.
@kodermax I see. Will consider this but might take some time to publish it.
PRs are always welcome, so if you are willing to contribute you can open a PR
您好我对这个api很疑惑,我想断开连接该怎么写呢
您好有没有完整的使用例子,断开连接,建立连接所有方法都用到的实例?我看给的api看的不太懂?