Provides methods for deciding if a request should be retried.

Trait
Properties
private $httpRetryCodes
 
  • var array
private $httpRetryMessages
 
  • var array
Methods
private getRetryFunction( $shouldRetryMessages = true)
 

Determines whether or not the request should be retried.

  • return callable
private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
 
  • return mixed
  • throws InvalidArgumentException
private static jsonEncode( $value, $options = 0, $depth = 512)
 
  • return string
  • throws InvalidArgumentException
private setHttpRetryCodes(array $codes)
 
    private setHttpRetryMessages(array $messages)
     
      Methods
      private static jsonDecode( $json, $assoc = false, $depth = 512, $options = 0)
       
      • return mixed
      • throws InvalidArgumentException
      private static jsonEncode( $value, $options = 0, $depth = 512)
       
      • return string
      • throws InvalidArgumentException
      © 2020 Bruce Wells
      Search Namespaces \ Classes
      ConfigurationNumbers (0-9.) only