mirror of https://github.com/aria2/aria2
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added aria2.pause, aria2.forcePause, aria2.pauseAll, aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC method to aria2rpc * doc/xmlrpc/aria2rpcpull/1/head
parent
a71148b702
commit
a8f57aa85f
|
@ -1,3 +1,10 @@
|
|||
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added aria2.pause, aria2.forcePause, aria2.pauseAll,
|
||||
aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
|
||||
method to aria2rpc
|
||||
* doc/xmlrpc/aria2rpc
|
||||
|
||||
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use elapsed time between two mach_absolute_time() calls.
|
||||
|
|
|
@ -216,6 +216,12 @@ Usage: #{program_name} addUri URI... [options]
|
|||
#{program_name} addTorrent /path/to/torrent_file URI... [options]
|
||||
#{program_name} addMetalink /path/to/metalink_file [options]
|
||||
#{program_name} remove GID [options]
|
||||
#{program_name} pause GID [options]
|
||||
#{program_name} pauseAll [options]
|
||||
#{program_name} forcePause GID [options]
|
||||
#{program_name} forcePauseAll [options]
|
||||
#{program_name} unpause GID [options]
|
||||
#{program_name} unpauseAll [options]
|
||||
#{program_name} changePosition GID pos how [options]
|
||||
#{program_name} tellStatus GID [options]
|
||||
#{program_name} tellActive [options]
|
||||
|
@ -293,6 +299,18 @@ elsif command == "getOption" then
|
|||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "getGlobalOption" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "pause" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "pauseAll" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "forcePause" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "forcePauseAll" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "unpause" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "unpauseAll" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "remove" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "changePosition" then
|
||||
|
|
Loading…
Reference in New Issue