Open herkalurk opened 7 years ago
I see that I can set curl_opts, but what I want is the info from the curl conneciton. Below is an example posting an image upload to an API. This comes from the php function curl_getinfo of a curl execution.
[content_type] => text/html; charset=UTF-8 [http_code] => 200 [header_size] => 230 [request_size] => 217 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 3.121744 [namelookup_time] => 2.7E-5 [connect_time] => 0.135479 [pretransfer_time] => 0.135484 [size_upload] => 469449 [size_download] => 253 [speed_download] => 81 [speed_upload] => 150380 [download_content_length] => 253 [upload_content_length] => 469449 [starttransfer_time] => 0.250933 [redirect_time] => 0
I see that I can set curl_opts, but what I want is the info from the curl conneciton. Below is an example posting an image upload to an API. This comes from the php function curl_getinfo of a curl execution.