WebSocket
{
"jsonrpc": "2.0",
"id": 3562,
"method": "public/disable_heartbeat",
"params": {}
}{
"jsonrpc": "2.0",
"id": 3562,
"result": "ok"
}Session Management
public/disable_heartbeat
Stop sending heartbeat messages. This method takes no parameters.
It also stops the server-side monitoring of client activity configured by public/set_heartbeat: after this call the server neither sends test_request messages nor closes the connection with code 4000. The regular WebSocket idle timeout (10 minutes without incoming data) still applies.
WebSocket Only: This method is designed exclusively for WebSocket connections. Calling it over REST/HTTP returns error 10030 (must_be_websocket_request).
WebSocket
{
"jsonrpc": "2.0",
"id": 3562,
"method": "public/disable_heartbeat",
"params": {}
}{
"jsonrpc": "2.0",
"id": 3562,
"result": "ok"
}Was this page helpful?