Function download
Downloads a file from the specified URL.
Any redirects will be followed until the actual file resource is reached or if the redirection limit of 10 is reached. Note that only HTTP(S) is currently supported.
Prototypes
void download( string url_, scope void delegate(scope InputStream) callback, HttpClient client ); void download( Url url, scope void delegate(scope InputStream) callback, HttpClient client ); void download( string url, string filename ); void download( Url url, Path filename );
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.