RetryStrategyInterface
interface RetryStrategyInterface
Methods
bool|null
shouldRetry(AsyncContext$context,string|null$responseContent,TransportExceptionInterface|null$exception)
Returns whether the request should be retried.
int
getDelay(AsyncContext$context,string|null$responseContent,TransportExceptionInterface|null$exception)
Returns the time to wait in milliseconds.