(websocket) add a positive number to the heartbeat message sent, incremented each time the heartbeat is sent

This commit is contained in:
Benjamin Sergeant
2020-04-15 18:33:36 -07:00
parent 85f6b1e0b7
commit 9b8cfa0a37
7 changed files with 11 additions and 5 deletions

View File

@ -239,7 +239,7 @@ namespace ix
}
else if (msg->type == ix::WebSocketMessageType::Pong)
{
invokeEventCallback(ix::CobraEventType::Pong);
invokeEventCallback(ix::CobraEventType::Pong, msg->str);
}
});
}