Opened 12 years ago
Closed 12 years ago
#1507 closed Enhancement (invalid)
Allow multiple rpc requests to be folded into one array
Reported by: | Waldorf | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | libtransmission | Version: | 1.40 |
Severity: | Normal | Keywords: | |
Cc: |
Description
Accept an array of rpc request objects. eg.:
posting [ { "arguments": { "fields": [ "name" ] }, "method": "torrent-get", "tag": 1 }, { "arguments": { "fields": [ "files", "priorities", "wanted" ], "ids": 1 }, "method": "torrent-get", "tag": 2 } ]
The main drive behind this idea is that when you write a front-end, you'll likely want to make 2 kind of requests: one for the torrent list, and one for the inspector. otherwise you'll end up either requesting too much, or making two separate requests.
Change History (1)
comment:1 Changed 12 years ago by charles
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
No. Just make two separate requests.