Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

How can I detect a websocket disconnection?

$
0
0

I have a script that periodically sends websocket messages using Websocket Request. Is there any way to detect (and handle) the case when the websocket is disconnected, either by the server or for any other reason?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>