Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate getLastResponseStatusCode, getLastResponseContentType and getLastResponseBody in Clients #391

Open
Art4 opened this issue Mar 12, 2024 · 0 comments
Milestone

Comments

@Art4
Copy link
Collaborator

Art4 commented Mar 12, 2024

Since v2.5.0 (#370) all Clients implements the method Redmine\Http\HttpClient::request() and with v2.6.0 (#378) all API classes will have the new method Redmine\Api\...::getLastResponse() to get the last response made by the API class. The users should now use this new getLastResponse() method. Therefore the following methods should be deprecated and removed.

  • Redmine\Client\Client::getLastResponseStatusCode()
  • Redmine\Client\Client::getLastResponseContentType()
  • Redmine\Client\Client::getLastResponseBody()
@Art4 Art4 added this to the v2.7.0 milestone Mar 12, 2024
@Art4 Art4 modified the milestones: v2.7.0, v2.8.0 Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant