def setDownloadRateLimit(infoHash, bytesPerSecond)
      raise "download rate limit must be an Integer, not a #{bytesPerSecond.class}" if bytesPerSecond && ! bytesPerSecond.is_a?(Integer)
      @handler.setDownloadRateLimit(infoHash, bytesPerSecond)
    end
def setDownloadRateLimit(infoHash, bytesPerSecond)
      raise "download rate limit must be an Integer, not a #{bytesPerSecond.class}" if bytesPerSecond && ! bytesPerSecond.is_a?(Integer)
      @handler.setDownloadRateLimit(infoHash, bytesPerSecond)
    end
Set the download rate limit in bytes/second.