Skip to content

Commit e92f60a

Browse files
authored
Update http-client.md
1 parent 29e9c72 commit e92f60a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ If you would like to quickly add an `Authorization` bearer token header to the r
114114
<a name="timeout"></a>
115115
### Timeout
116116

117-
To set a timeout for your request, you can use the `timeout` method.
117+
The `timeout` method may be used to specify the maximum number of seconds to wait for a response:
118118

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

121-
If the timeout is exceeded, an instance of `Illuminate\Http\Client\ConnectionException` will be thrown.
121+
If the given timeout is exceeded, an instance of `Illuminate\Http\Client\ConnectionException` will be thrown.
122122

123123
<a name="retries"></a>
124124
### Retries

0 commit comments

Comments
 (0)