The timeout method may be used to specify the maximum number of seconds to wait for a response:
timeout
$response = Http::timeout(3)->get(...);
If the given timeout is exceeded, an instance of Illuminate\Http\Client\ConnectionException will be thrown.
Illuminate\Http\Client\ConnectionException