Function HttpDownloader->copy_from_other
Definitions
sources/http.php
- Copy response metadata from one object to another.Does not copy response data, that is returned as a string.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$from | object | required parameter | N/A | N/A | The child response |
$to | object | required parameter | N/A | N/A | The parent response |
Return
- The data downloaded (null: error)
- Type: ?string
- Set: N/A
- Range: N/A