Class AbstractErrorCodeBackoffStrategy
Strategy used to retry when certain error codes are encountered
- Guzzle\Plugin\Backoff\AbstractBackoffStrategy implements Guzzle\Plugin\Backoff\BackoffStrategyInterface
- Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy
Direct known subclasses
Guzzle\Plugin\Backoff\CurlBackoffStrategy, Guzzle\Plugin\Backoff\HttpBackoffStrategy, Guzzle\Plugin\Backoff\ReasonPhraseBackoffStrategy
Abstract
Namespace: Guzzle\Plugin\Backoff
Located at Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php
Namespace: Guzzle\Plugin\Backoff
Located at Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php
public
|
|
public static
array
|
|
public
boolean
|
#
makesDecision( )
Check if the strategy does filtering and makes decisions on whether or not to retry. |
getBackoffPeriod(),
getDelay(),
getNext(),
setNext()
|
protected static
array
|
$defaultErrorCodes | array() |
#
Default cURL errors to retry |
protected
array
|
$errorCodes |
|
#
Error codes that can be retried |
$next
|