private function RetryMiddleware::doRetry in Auth0 Single Sign On 8.2
Return value
self
2 calls to RetryMiddleware::doRetry()
- RetryMiddleware::onFulfilled in vendor/
guzzlehttp/ guzzle/ src/ RetryMiddleware.php - Execute fulfilled closure
- RetryMiddleware::onRejected in vendor/
guzzlehttp/ guzzle/ src/ RetryMiddleware.php - Execute rejected closure
File
- vendor/
guzzlehttp/ guzzle/ src/ RetryMiddleware.php, line 122
Class
- RetryMiddleware
- Middleware that retries requests based on the boolean result of invoking the provided "decider" function.
Namespace
GuzzleHttpCode
private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null) {
$options['delay'] = call_user_func($this->delay, ++$options['retries'], $response);
return $this($request, $options);
}