-
Notifications
You must be signed in to change notification settings - Fork 25
websocket接口 心跳
lestercx edited this page Mar 30, 2023
·
1 revision
要求请求者每10秒发送一次,在30秒内如果没有收到心跳请求,就会认为超时,断开请求者的websocket连接
字段 | 名称 | 类型 | 必填项 | 说明 |
---|
{
"cmd_id":22000,
"seq_id":123,
"trace":"asdfsdfa",
"data":{
}
}
字段 | 名称 | 类型 | 说明 |
---|
{
"ret":200,
"msg":"ok",
"cmd_id":22001,
"seq_id":123,
"trace":"asdfsdfa",
"data":{
}
}