Heartbeat

Interface Description

The requester is required to send a heartbeat request every 10 seconds. If no heartbeat request is received within 30 seconds, it will be considered a timeout and the requester's websocket connection will be disconnected.

Request-Protocol Number: 14008

Data format:json

Data Structure

data definition

Request Example

Copy

{
    "cmd_id":14008,
    "seq_id":123,
    "ext":"3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
    "data":{
    }
}

Response-Protocol Number: 14009

Data format:json

Data Structure

data definition

Example Response

Copy

{
    "ret":200,
    "msg":"ok",
    "cmd_id":14009,
    "seq_id":123,
    "ext":"3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
    "data":{
    }
}

Last updated