Register a callback function to execute whenever a data stream is read from using
CFRequest::streaming_read_callback().
The user-defined callback function should accept three arguments:
$curl_handle-resource- Required - The cURL handle resource that represents the in-progress transfer.$file_handle-resource- Required - The file handle resource that represents the file on the local file system.$length-integer- Required - The length in kilobytes of the data chunk that was transferred.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
Required |
The callback function is called by
|
Returns
Type |
Description |
|---|---|
|
A reference to the current instance. |
Source
Method defined in lib/requestcore/requestcore.class.php | Toggle source view (6 lines) | View on GitHub

