diff --git a/src/Traits/Connector/SendsRequests.php b/src/Traits/Connector/SendsRequests.php index f667bee7..9c834138 100644 --- a/src/Traits/Connector/SendsRequests.php +++ b/src/Traits/Connector/SendsRequests.php @@ -154,6 +154,8 @@ public function sendAsync(Request $request, MockClient $mockClient = null): Prom /** * Send a synchronous request and retry if it fails * + * @deprecated This method will be removed in Saloon v4. Please refer to the documentation to see connector or request-based retry functionality. + * * @param callable(\Throwable, \Saloon\Http\Request): (bool)|null $handleRetry */ public function sendAndRetry(Request $request, int $tries, int $interval = 0, callable $handleRetry = null, bool $throw = true, MockClient $mockClient = null, bool $useExponentialBackoff = false): Response