Contents | Transport layer | Packet format | Application Protocol | Let's write a server |
package
package.list
<call ...> <package method="list" pkgtype="pkgtype" model*="" /> </call>
all
is the only currently observed value for pkgtype
<response> <package status="status"> <item[] url="" name="" desc="" size="" pkgtype="" sumtype="" sum="" from="" till="" /> </package> </response>
A list of all packages available for download.
url |
|
desc |
|
size |
Size of the resource at url in bytes |
pkgtype |
|
sumtype |
Only allowable value is md5 . |
sum |
The sumtype digest of the file at url . |
from |
|
till |
package.intend
<call ...> <package method="intend" url="" model*="" /> </call>
<response> <package status="status" /> </response>