askForMorePeers method

Future<void> askForMorePeers(
  1. List<int> ids
)

Ask for more peers for torrents by given ids ids integer identifier list of the torrents to remove Throws TransmissionException if errors

Implementation

Future<void> askForMorePeers(List<int> ids) async {
  final results = await _dio.post('/',
      data: _Request(methodUpdateTorrent, arguments: {
        'ids': ids,
      }).toJSON());
  _checkResults(_Response.fromJSON(results.data));
}