Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • AbstractBackoffStrategy
  • AbstractErrorCodeBackoffStrategy
  • BackoffLogger
  • BackoffPlugin
  • CallbackBackoffStrategy
  • ConstantBackoffStrategy
  • CurlBackoffStrategy
  • ExponentialBackoffStrategy
  • HttpBackoffStrategy
  • LinearBackoffStrategy
  • ReasonPhraseBackoffStrategy
  • TruncatedBackoffStrategy

Interfaces

  • BackoffStrategyInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractErrorCodeBackoffStrategy

Strategy used to retry when certain error codes are encountered

Guzzle\Plugin\Backoff\AbstractBackoffStrategy implements Guzzle\Plugin\Backoff\BackoffStrategyInterface
Extended by 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 src/Guzzle/Plugin/Backoff/AbstractErrorCodeBackoffStrategy.php
Methods summary
public
# __construct( array $codes = null, Guzzle\Plugin\Backoff\BackoffStrategyInterface $next = null )

Parameters

$codes
Array of codes that should be retried
$next
The optional next strategy
public static array
# getDefaultFailureCodes( )

Get the default failure codes to retry

Get the default failure codes to retry

Returns

array
public boolean
# makesDecision( )

Check if the strategy does filtering and makes decisions on whether or not to retry.

Check if the strategy does filtering and makes decisions on whether or not to retry.

Strategies that return false will never retry if all of the previous strategies in a chain defer on a backoff decision.

Returns

boolean
Methods inherited from Guzzle\Plugin\Backoff\AbstractBackoffStrategy
getBackoffPeriod(), getDelay(), getNext(), setNext()
Properties summary
protected static array $defaultErrorCodes

Default cURL errors to retry

Default cURL errors to retry

# array()
protected array $errorCodes

Error codes that can be retried

Error codes that can be retried

#
Properties inherited from Guzzle\Plugin\Backoff\AbstractBackoffStrategy
$next
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen