Create Stop Request Function
Create a function for Curl::progress() that stops a request early when the stopRequest flag is on. Keep this function separate from the class to prevent a memory leak.
| Parameters | |||
|---|---|---|---|
|
$header_callback_data |
# | |
| Returns | |
|---|---|
callable
|
|