RetryMiddleware.php Interfaces, Classes and Traits RetryMiddleware Middleware that retries requests based on the boolean result of invoking the provided "decider" function.