react-stomp icon indicating copy to clipboard operation
react-stomp copied to clipboard

Add method reconnect

Open kodermax opened this issue 6 years ago • 5 comments

Could you add a method "reconnect"?

kodermax avatar Feb 20 '19 08:02 kodermax

Calling connect for reconnect will work. The method only connects if state is disconnected

lahsivjar avatar Feb 20 '19 14:02 lahsivjar

I need to do reconnect when my authToken changes. Сonnect in this case does not fit.

kodermax avatar Feb 22 '19 06:02 kodermax

@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

lahsivjar avatar Mar 01 '19 08:03 lahsivjar

您好我对这个api很疑惑,我想断开连接该怎么写呢 image

521guyu avatar Nov 19 '19 02:11 521guyu

您好有没有完整的使用例子,断开连接,建立连接所有方法都用到的实例?我看给的api看的不太懂?

521guyu avatar Nov 19 '19 02:11 521guyu