curl
curl copied to clipboard
I reckon this function might be helpful
get_request_options() - drops an associative array of the curl options currently configured
merged at nickl-/curl@8dec78dc34c68ecc3db88b7762fbf147b7c313cc
How do you call this? Isn't the request object destroyed at the end of the request method?
curl_close($this->request);
I get 16 is not a valid cURL handle resource when I try and use it like:
$response = $curl->get($url);
$info = $curl->get_request_options();
@p4ul Unfortunately I can only help with the fork at nickl-/curl this repo has been dead for years.