laravel-notion-api icon indicating copy to clipboard operation
laravel-notion-api copied to clipboard

How to get the Retry-After value?

Open farez opened this issue 1 year ago • 0 comments

When there is an exception, I need to know if it's related to rate limits, and if it is, I then need to get the 'Retry-After' header to determine my backoff time.

How can I have access to the response header?

Thanks.

farez avatar Sep 29 '23 09:09 farez