popularHosts static method

Future<OverMediaResponse> popularHosts(
  1. P2PStream stream, {
  2. int? limit,
})

Get popular hosts

Implementation

static Future<OverMediaResponse> popularHosts(
  P2PStream stream, {
  int? limit,
}) async {
  return _send(stream, {
    'action': 'popular_hosts',
    'params': {
      if (limit != null) 'limit': limit,
    },
  });
}