Php Ratchet — how to track a connection break?
How to track a connection break in Ratchet - I use an example from the main page.
But when the client breaks the connection (that is, it does not close it, but for example when the network drops and the connection is lost), the onClose or onError methods are not called... how do I track such a connection - I want to do some actions when it breaks.