libcurl - How to get http status code directly into a variable in cURL lib? -


i know curl_easy_getinfo function can used http status code. there anyway set variable (curl_easy_setopt) , read value directly after performing request?

no, use curl_easy_getinfo() extract information previous transfer. http response codes: curlinfo_response_code.


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -