you spelled timeout incorrectly, it says timout
Wait for response until x Then die (Http facade)
How to tell laravel if the response time was more than 3 seconds dont wait and die, I tried timeout and connect_timeout but these arent working and waiting for too long:
Http::withOptions(['connect_timeout' => 3, 'timout' => 3])->get('wronogDsomain.com'));
if your networking is broken then normal rules do not apply.
On your local machine with no internet, your machine is trying hard to convert the web address into an IP address for the server it needs to contact. This name resolution may take a long time if your machine believes that it should be able to contact its name servers but cannot.
The request you want to timeout is AFTER connection has been established with the host, but they are taking a long time to give you the answer.
Your server knows the URL is not valid and can abort immediately - no point in waiting if the domain is invalid.
Please or to participate in this conversation.