|
Open Monograph Press
3.3.0
|
Protected Member Functions | |
| getDelay ($retries, RequestInterface $request, Response $response=null, HttpException $e=null) | |
Static Protected Attributes | |
| static | $defaultErrorCodes |
Static Protected Attributes inherited from Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy | |
| static | $defaultErrorCodes = array() |
Additional Inherited Members | |
Public Member Functions inherited from Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy | |
| __construct (array $codes=null, BackoffStrategyInterface $next=null) | |
| makesDecision () | |
Public Member Functions inherited from Guzzle\Plugin\Backoff\AbstractBackoffStrategy | |
| getBackoffPeriod ( $retries, RequestInterface $request, Response $response=null, HttpException $e=null) | |
| getNext () | |
| setNext (AbstractBackoffStrategy $next) | |
Static Public Member Functions inherited from Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy | |
| static | getDefaultFailureCodes () |
Protected Attributes inherited from Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy | |
| $errorCodes | |
Protected Attributes inherited from Guzzle\Plugin\Backoff\AbstractBackoffStrategy | |
| $next | |
Strategy used to retry when certain cURL error codes are encountered.
Definition at line 13 of file CurlBackoffStrategy.php.
|
protected |
Implement the concrete strategy
| int | $retries | Number of retries of the request |
| RequestInterface | $request | Request that was sent |
| Response | $response | Response that was received. Note that there may not be a response |
| HttpException | $e | Exception that was encountered if any |
Reimplemented from Guzzle\Plugin\Backoff\AbstractBackoffStrategy.
Definition at line 22 of file CurlBackoffStrategy.php.
|
staticprotected |
Definition at line 16 of file CurlBackoffStrategy.php.