You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* For websocket connections, the system will send a heartbeat message to the client every 30 seconds.
78
+
* The client must respond back with the public/respond-heartbeat method, using the same matching id, within 5 seconds, or the connection will break. */
79
+
varhrResponse=new
80
+
{
81
+
id=token["id"].ConvertInvariant<long>(),
82
+
method="public/respond-heartbeat",
83
+
};
84
+
await_socket.SendMessageAsync(hrResponse);
85
+
78
86
if(token["message"].ToStringInvariant()=="server did not receive any client heartbeat, going to disconnect soon")
0 commit comments