Network

Undocumented in source.

Members

Functions

downloadFile
void downloadFile(string url, string target)

Download file located at the indicated URL, unless the target file already exists.

getFile
void[] getFile(string url)

Get resource located at the indicated URL.

post
void[] post(string url, void[] data)

Post data to the specified URL.

resolveRedirect
string resolveRedirect(string url)

Get the destination of an HTTP redirect.

urlOK
bool urlOK(string url)

Check if the resource exists and is downloadable. E.g. the HTTP status code for a HEAD request should be 200.

Meta