We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, I have some custom curl parameters:
$ch = curl_init("http://google.com"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT_MS , 1); //timeout in seconds $google = $mc->addCurl($ch);
$e_code = curl_multi_info_read($google); var_dump($e_code);
Do you guys know of any way to check that the network call timed out?
I tried using the function curl_multi_info_read, but it returns "expects parameter 1 to be resource, object given"
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey, I have some custom curl parameters:
$ch = curl_init("http://google.com");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT_MS , 1); //timeout in seconds
$google = $mc->addCurl($ch);
$e_code = curl_multi_info_read($google);
var_dump($e_code);
Do you guys know of any way to check that the network call timed out?
I tried using the function curl_multi_info_read, but it returns "expects parameter 1 to be resource, object given"
Thanks.
The text was updated successfully, but these errors were encountered: