Heartbeat
Each link of the client needs to send a text “ping” periodically, and the server will reply to the text “pong”.
If the server does not receive a ping message from the client within 30 seconds, it will actively disconnect the link.
Each link of the client needs to send a text “ping” periodically, and the server will reply to the text “pong”.
If the server does not receive a ping message from the client within 30 seconds, it will actively disconnect the link.