Documentation

RetryMiddleware.php

Pop PHP Framework (https://www.popphp.org/)

Tags
link
https://github.com/popphp/popphp-framework
author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

Table of Contents

Classes

RetryMiddleware
Retry/backoff middleware - retries a request on transient network exceptions and/or specific response status codes, with exponential backoff and full jitter between attempts. Honors a Retry-After response header over the computed delay when present. Skips retrying entirely when the request has a non-seekable body, since a partially-consumed stream can't be safely resent.

        
On this page

Search results