core icon indicating copy to clipboard operation
core copied to clipboard

Requeing requests

Open pavlokomarov opened this issue 4 years ago • 1 comments

Hi!

How can I implement such as RetryMiddleware, that should retry requests after some errors?

I see, that Guzzle Promise have not assign onRejected callback now, and exceptions that thrown in Client are not handled.

pavlokomarov avatar Jan 16 '22 10:01 pavlokomarov

I were sketched some changes to implement this functionality in https://github.com/roach-php/core/pull/15

pavlokomarov avatar Jan 16 '22 17:01 pavlokomarov