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

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -