Function HttpDownloaderCurl->_run

Definitions

sources/http.php

  • Do the inner call using a particular downloader method.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

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

Returns

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

Preview

Code (PHP)

/**
 * Do the inner call using a particular downloader method.
 *
 * @param  URLPATH $url The URL to download
 * @param  array $options Map of options (see the properties of the HttpDownloader class for what you may set)
 * @return ~?string The data downloaded (null: error) (false: backend failed)
 */

protected function _run(string $url, array $options)