ping method
Send a empty message to the server to keep the connection alive.
Implementation
Future<void> ping() async {
await _authenticated.future;
_sendMessage(SSH_Message_Global_Request.keepAlive());
await _globalRequestReplyQueue.next;
}
Send a empty message to the server to keep the connection alive.
Future<void> ping() async {
await _authenticated.future;
_sendMessage(SSH_Message_Global_Request.keepAlive());
await _globalRequestReplyQueue.next;
}