Web
Treatments group for internet communication.
Available Treatments
These are the treatments currently provided by the "Web" treatment group:
Treatment
Arguments
Description
web.download
["url", "path"]
Downloads a path from given url to a given path (creates it if doesn't exist), optionally uses user-agent specified in "source" section. Paths relative to application root.
Example:
{
...
"treatments": [
{
"treatment": "web.download",
"arguments": ["https://example.com/app.dol", "apps/newozero/boot.dol"]
},
],
...
}
Last updated
Was this helpful?