Ignore:
Timestamp:
Mar 15, 2011, 4:22:47 AM (11 years ago)
Author:
jordan
Message:

(trunk) #4081 "Add 'cookieString' argument 'torrent-add' method in RPC" -- done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/rpc-spec.txt

    r12097 r12168  
    348348   key                  | value type & description
    349349   ---------------------+-------------------------------------------------
     350   "cookies"            | string      pointer to a string of one or more cookies.
    350351   "download-dir"       | string      path to download the torrent to
    351352   "filename"           | string      filename or URL of the .torrent file
     
    362363   Either "filename" OR "metainfo" MUST be included.
    363364   All other arguments are optional.
     365
     366   The format of the "cookies" should be NAME=CONTENTS, where NAME is the
     367   cookie name and CONTENTS is what the cookie should contain.
     368   Set multiple cookies like this: "name1=content1; name2=content2;" etc.
     369   <http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCOOKIE>
    364370
    365371   Response arguments: on success, a "torrent-added" object in the
     
    656662   ------+---------+-----------+----------------+-------------------------------
    657663   13    | 2.30    | yes       | session-get    | new arg "isUTP" to the "peers" list
     664         |         | yes       | torrent-add    | new arg "cookies"
    658665         |         |        NO | torrent-get    | removed arg "peersKnown"
Note: See TracChangeset for help on using the changeset viewer.