runPing method

GameProperty runPing(
  1. HttpRequest request,
  2. GameProperty property
)

Implementation

GameProperty runPing(HttpRequest request, GameProperty property) {
  if (_pingController.isClosed) return property;
  final ping = ServerPing(request: request, response: property);
  _pingController.add(ping);
  return ping.response;
}