We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29e9c72 commit e92f60aCopy full SHA for e92f60a
http-client.md
@@ -114,11 +114,11 @@ If you would like to quickly add an `Authorization` bearer token header to the r
114
<a name="timeout"></a>
115
### Timeout
116
117
-To set a timeout for your request, you can use the `timeout` method.
+The `timeout` method may be used to specify the maximum number of seconds to wait for a response:
118
119
$response = Http::timeout(3)->get(...);
120
121
-If the timeout is exceeded, an instance of `Illuminate\Http\Client\ConnectionException` will be thrown.
+If the given timeout is exceeded, an instance of `Illuminate\Http\Client\ConnectionException` will be thrown.
122
123
<a name="retries"></a>
124
### Retries
0 commit comments