curl icon indicating copy to clipboard operation
curl copied to clipboard

I reckon this function might be helpful

Open hamstar opened this issue 14 years ago • 3 comments

get_request_options() - drops an associative array of the curl options currently configured

hamstar avatar Feb 19 '11 11:02 hamstar

merged at nickl-/curl@8dec78dc34c68ecc3db88b7762fbf147b7c313cc

nickl- avatar Jun 19 '12 08:06 nickl-

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 avatar Dec 18 '13 04:12 p4ul

@p4ul Unfortunately I can only help with the fork at nickl-/curl this repo has been dead for years.

nickl- avatar Dec 20 '13 14:12 nickl-