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

How can i manually disconnect the websocket connection ?

Open vishgoel007 opened this issue 5 years ago • 5 comments

vishgoel007 avatar Dec 24 '19 14:12 vishgoel007

用这个还不如的自己写个,我自己写原声了

zqxb avatar Mar 02 '20 10:03 zqxb

Did anyone got any solution for it?

vikram-ray avatar Apr 08 '20 19:04 vikram-ray

@thevikramray Yeah, i found a way. Just don't render the websocket tag when you want to disconnect it. Let me know if it helps.

vishgoel007 avatar Apr 08 '20 19:04 vishgoel007

It works. @vishgoel007 thanks.

vikram-ray avatar Apr 09 '20 03:04 vikram-ray

can you please @vishgoel007 close this issue since its resolved?

exaucae avatar Oct 31 '21 21:10 exaucae