This PR converts the constant list for the second (option) parameter of curl_getinfo() to a table (as it was done in doc-enhere) and adds the five missing constants (CURLINFO_CAINFO, CURLINFO_CAPATH, CURLINFO_REFERER, CURLINFO_RETRY_AFTER, CURLINFO_PROXY_ERROR). The latter is in a separate commit so it can be easily dropped if it's not needed.
This PR converts the constant list for the second (
option
) parameter ofcurl_getinfo()
to a table (as it was done indoc-en
here) and adds the five missing constants (CURLINFO_CAINFO
,CURLINFO_CAPATH
,CURLINFO_REFERER
,CURLINFO_RETRY_AFTER
,CURLINFO_PROXY_ERROR
). The latter is in a separate commit so it can be easily dropped if it's not needed.