DigitalOceanPHP / Client

DigitalOcean API v2 client for PHP
MIT License
710 stars 205 forks source link

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

Open lhridley opened 9 months ago

lhridley commented 9 months ago

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 commented 9 months ago

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

stale[bot] commented 5 months ago

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.