mirror of https://github.com/aria2/aria2
2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method to aria2rpc. * doc/xmlrpc/aria2rpcpull/1/head
parent
4e294c7129
commit
17a1bfea09
|
@ -1,3 +1,8 @@
|
|||
2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added tellStopped XML-RPC method to aria2rpc.
|
||||
* doc/xmlrpc/aria2rpc
|
||||
|
||||
2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added tellStopped XML-RPC method. This method returns stopped
|
||||
|
|
|
@ -181,6 +181,7 @@ Usage: #{program_name} addUri URI... [options]
|
|||
#{program_name} tellStatus GID [options]
|
||||
#{program_name} tellActive [options]
|
||||
#{program_name} tellWaiting offset num [options]
|
||||
#{program_name} tellStopped offset num [options]
|
||||
#{program_name} getOption GID [options]
|
||||
#{program_name} getGlobalOption [options]
|
||||
#{program_name} getFiles GID [options]
|
||||
|
@ -244,6 +245,8 @@ elsif command == "tellActive" then
|
|||
result=client.call("aria2."+command)
|
||||
elsif command == "tellWaiting" then
|
||||
result=client.call("aria2."+command, resources[0].to_i(), resources[1].to_i())
|
||||
elsif command == "tellStopped" then
|
||||
result=client.call("aria2."+command, resources[0].to_i(), resources[1].to_i())
|
||||
elsif command == "getOption" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "getGlobalOption" then
|
||||
|
|
Loading…
Reference in New Issue