Class Guzzle\Plugin\Backoff\ReasonPhraseBackoffStrategy

InheritanceGuzzle\Plugin\Backoff\ReasonPhraseBackoffStrategy » Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy » Guzzle\Plugin\Backoff\AbstractBackoffStrategy
ImplementsGuzzle\Plugin\Backoff\BackoffStrategyInterface

Strategy used to retry HTTP requests when the response's reason phrase matches one of the registered phrases.

Method Details

getDelay() protected method

protected void getDelay ( $retries, Guzzle\Http\Message\RequestInterface $request, Guzzle\Http\Message\Response $response null, Guzzle\Http\Exception\HttpException $e null )
$retries
$request
$response
$e
makesDecision() public method

public void makesDecision ( )