handleSessionEventPingReceived method

  1. @protected
FutureOr<void> handleSessionEventPingReceived(
  1. SessionEventGeneric event
)

Report a ping from a client.

Implementation

@protected
FutureOr<void> handleSessionEventPingReceived(SessionEventGeneric event) {
  addServerEvent(
    ServerEvent(
      type: ServerEventType.clientPingRequest,
      message: 'Session ${event.sessionId} ping request: ${event.message}',
    ),
  );
}