class CurlDownloader (View source)

Properties

protected $multiErrors

Methods

__construct(IOInterface $io, Config $config, array $options = array(), $disableTls = false)

No description

int
download($resolve, $reject, $origin, $url, $options, $copyTo = null)

No description

abortRequest($id)

No description

tick()

No description

Details

__construct(IOInterface $io, Config $config, array $options = array(), $disableTls = false)

Parameters

IOInterface $io
Config $config
array $options
$disableTls

int download($resolve, $reject, $origin, $url, $options, $copyTo = null)

Parameters

$resolve
$reject
$origin
$url
$options
$copyTo

Return Value

int internal job id

abortRequest($id)

Parameters

$id

tick()