Skip to content

Commit 16bb3a1

Browse files
Add default connect timeout (10 seconds) to HTTP client documentation. (#10353)
1 parent f9f6b6f commit 16bb3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http-client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ $response = Http::timeout(3)->get(/* ... */);
251251

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

254-
You may specify the maximum number of seconds to wait while trying to connect to a server using the `connectTimeout` method:
254+
You may specify the maximum number of seconds to wait while trying to connect to a server using the `connectTimeout` method. The default is 10 seconds:
255255

256256
```php
257257
$response = Http::connectTimeout(3)->get(/* ... */);

0 commit comments

Comments
 (0)