Sunnysideup\Moodle\Api\MoodleWebservice::download
Download multiple files in parallel.
Calls with specific download headers <code> $c = new curl; $c->download(array( array('url'=>'http://localhost/', 'file'=>fopen('a', 'wb')), array('url'=>'http://localhost/20/', 'file'=>fopen('b', 'wb')) )); </code>
Signature
public function download(array
$requests,
[array
$options = ] )
Parameters
$requests
— array- An array of files to request
$options
— array- An array of options to set
Returns
- array
- An array of results