download

Downloads data from a remote url.

static if(isWeb)
void
download
(
string url
,
scope void delegate
(
scope ubyte[] data
)
downloadedHandler
)

Parameters

url string

The url of the data to download.

downloadedHandler void delegate
(
scope ubyte[] data
)

A handler for when the data has been downloaded.

Meta