How to Identify and kill a WebSocket on client side?

Viewed 14

I'm using a react package(@aws-sdk/client-transcribe-streaming) which opens up a socket for converting speech to text. But this library has a bug and isn't able to kill the socket.

Is there any way we can identify that a websocket is hanging on in a browser and then kill it by force?

enter image description here

0 Answers
Related