Function HttpDownloaderCurl->may_run_for
Definitions
sources/http.php
- See if this class may run.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
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 | [] | N/A | N/A | Map of options (see the properties of the HttpDownloader class for what you may set) |
Returns
- The execution priority
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* See if this class may run.
*
* @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 integer The execution priority
*/
public function may_run_for(string $url, array $options = []) : int
* See if this class may run.
*
* @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 integer The execution priority
*/
public function may_run_for(string $url, array $options = []) : int

