Function HttpDownloader->run

Definitions

sources/http.php

  • Return the file in the URL by downloading it over HTTP. If a byte limit is given, it will only download that many bytes. It outputs warnings, returning null, on error.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$url URLPATH required parameter N/A N/A The URL to download
$options array [] N/A N/A Map of options (see the properties of the HttpDownloader class for what you may set)

Return

  • The data downloaded (null: error) (false: backend failed)
  • Type: ~?string
  • Set: N/A
  • Range: N/A