torrentAdd abstract method
Adding a torrent. more info see: torrent-add
TorrentAddFileInfo should only set filename
or metainfo
,
only filename
will take effect if both are set;
resonse TorrentAddResponseParam.isDuplicated will be true when attempting to add a duplicate torrent;
Implementation
Future<TorrentAddResponse> torrentAdd(TorrentAddRequestArgs args,
{RpcTag? tag, int? timeout});