def set_download_limit torrent_hash, limit
      query = ["hashes=#{torrent_hash}", "limit=#{limit}"]

      options = {
        body: query.join('&')
      }

      self.class.post('/command/setTorrentsDlLimit', options)
    end
def set_download_limit torrent_hash, limit
      query = ["hashes=#{torrent_hash}", "limit=#{limit}"]

      options = {
        body: query.join('&')
      }

      self.class.post('/command/setTorrentsDlLimit', options)
    end
Set a torrent's download limit

 A limit of 0 means unlimited.

 torrent_hash: string
 limit: integer (bytes)