heartbeat method

  1. @override
Future<void> heartbeat(
  1. Connection connection
)
override

Send a heartbeat package('PING') to remote address

Implementation

@override
Future<void> heartbeat(Connection connection) async {
  // let the client to do the job
  if (connection is ActiveConnection) {
    await super.heartbeat(connection);
  }
}