Skip to content

Commit 27cd7b0

Browse files
authored
Merge pull request #31682 from laravel/http-retry-annotation
[7.x] Add retry to Http facade annotations
2 parents 5ea69e2 + dd878c0 commit 27cd7b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Support/Facades/Http.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* @method static \Illuminate\Http\Client\PendingRequest contentType(string $contentType)
1414
* @method static \Illuminate\Http\Client\PendingRequest acceptJson()
1515
* @method static \Illuminate\Http\Client\PendingRequest accept(string $contentType)
16+
* @method static \Illuminate\Http\Client\PendingRequest retry(int $times, int $sleep = 0)
1617
* @method static \Illuminate\Http\Client\PendingRequest withHeaders(array $headers)
1718
* @method static \Illuminate\Http\Client\PendingRequest withBasicAuth(string $username, string $password)
1819
* @method static \Illuminate\Http\Client\PendingRequest withDigestAuth(string $username, string $password)

0 commit comments

Comments
 (0)