Laravel - HTTP Client - Timeout

The timeout method may be used to specify the maximum number of seconds to wait for a response:

    
    $response = Http::timeout(3)->get(...);
	

If the given timeout is exceeded, an instance of Illuminate\Http\Client\ConnectionException will be thrown.