Class HttpBackoffStrategy
Strategy used to retry HTTP requests based on the response code.
Retries 500 and 503 error by default.
- Guzzle\Plugin\Backoff\AbstractBackoffStrategy implements Guzzle\Plugin\Backoff\BackoffStrategyInterface
- Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy
- Guzzle\Plugin\Backoff\HttpBackoffStrategy
protected
boolean|integer|null
|
#
getDelay( integer $retries,
Implement the concrete strategy |
__construct(),
getDefaultFailureCodes(),
makesDecision()
|
getBackoffPeriod(),
getNext(),
setNext()
|
protected static
array
|
$defaultErrorCodes | array(500, 503) |
#
Default cURL errors to retry |
$errorCodes
|
$next
|