Client icon indicating copy to clipboard operation
Client copied to clipboard

Does this library capture the HTTP response code and make that available?

Open lhridley opened this issue 2 years ago • 2 comments

I grepped through the code and didn't see anything where the response code could be requested. I would have expected this to be in the ResponseMediator, but I only see a way to query the rate limit headers.

If I overlooked this point me in the right direction please. Thanks!

lhridley avatar Nov 29 '23 21:11 lhridley

Added handlers to ResponseMediator for this: https://patch-diff.githubusercontent.com/raw/DigitalOceanPHP/Client/pull/325.diff

lhridley avatar Dec 01 '23 13:12 lhridley

This issue has been automatically marked as stale because there has been no recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 22 '24 07:04 stale[bot]