|
@@ -2642,16 +2642,16 @@ GID
|
|
|
</dl></div>
|
|
</dl></div>
|
|
|
<h3 id="_methods">Methods</h3><div style="clear:left"></div>
|
|
<h3 id="_methods">Methods</h3><div style="clear:left"></div>
|
|
|
<div class="paragraph"><p><strong>aria2.addUri</strong> <em>uris[, options[, position]]</em></p></div>
|
|
<div class="paragraph"><p><strong>aria2.addUri</strong> <em>uris[, options[, position]]</em></p></div>
|
|
|
-<div class="paragraph"><p>This method adds new HTTP(S)/FTP/BitTorrent Magnet URI with this
|
|
|
|
|
-method. <em>uris</em> is of type array and its element is URI which is of
|
|
|
|
|
-type string. For BitTorrent Magnet URI, <em>uris</em> must have one element
|
|
|
|
|
-only and it should be BitTorrent Magnet URI. <em>options</em> is of type
|
|
|
|
|
-struct and its members are a pair of option name and value. See
|
|
|
|
|
-<strong>Options</strong> below for more details. If <em>position</em> is given as an
|
|
|
|
|
-integer starting from 0, the new download is inserted at <em>position</em> in
|
|
|
|
|
-the waiting queue. If <em>position</em> is not given or <em>position</em> is larger
|
|
|
|
|
-than the size of the queue, it is appended at the end of the queue.
|
|
|
|
|
-This method returns GID of registered download.</p></div>
|
|
|
|
|
|
|
+<div class="paragraph"><p>This method adds new HTTP(S)/FTP/BitTorrent Magnet URI. <em>uris</em> is of
|
|
|
|
|
+type array and its element is URI which is of type string. For
|
|
|
|
|
+BitTorrent Magnet URI, <em>uris</em> must have only one element and it should
|
|
|
|
|
+be BitTorrent Magnet URI. <em>options</em> is of type struct and its members
|
|
|
|
|
+are a pair of option name and value. See <strong>Options</strong> below for more
|
|
|
|
|
+details. If <em>position</em> is given as an integer starting from 0, the
|
|
|
|
|
+new download is inserted at <em>position</em> in the waiting queue. If
|
|
|
|
|
+<em>position</em> is not given or <em>position</em> is larger than the size of the
|
|
|
|
|
+queue, it is appended at the end of the queue. This method returns
|
|
|
|
|
+GID of registered download.</p></div>
|
|
|
<div class="paragraph"><p><strong>aria2.addTorrent</strong> <em>torrent[, uris[, options[, position]]]</em></p></div>
|
|
<div class="paragraph"><p><strong>aria2.addTorrent</strong> <em>torrent[, uris[, options[, position]]]</em></p></div>
|
|
|
<div class="paragraph"><p>This method adds BitTorrent download by uploading .torrent file.
|
|
<div class="paragraph"><p>This method adds BitTorrent download by uploading .torrent file.
|
|
|
<em>torrent</em> is of type base64 which contains Base64-encoded .torrent
|
|
<em>torrent</em> is of type base64 which contains Base64-encoded .torrent
|
|
@@ -3460,7 +3460,7 @@ files in the program, then also delete it here.</p></div>
|
|
|
<div id="footnotes"><hr /></div>
|
|
<div id="footnotes"><hr /></div>
|
|
|
<div id="footer">
|
|
<div id="footer">
|
|
|
<div id="footer-text">
|
|
<div id="footer-text">
|
|
|
-Last updated 2009-12-06 20:11:29 JST
|
|
|
|
|
|
|
+Last updated 2009-12-06 21:18:41 JST
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</body>
|
|
</body>
|