The user-defined callback function should accept two arguments:
$curl_handle
-resource
- Required - The cURL handle resource that represents the in-progress transfer.$length
-integer
- Required - The length in kilobytes of the data chunk that was transferred.
public register_streaming_write_callback ( string | array | function $callback ) | ||
$callback | string | array | function | (Required) The callback function is called by
|