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.
public register_streaming_read_callback ( string | array | function $callback ) | ||
$callback | string | array | function | (Required) The callback function is called by
|