-
Notifications
You must be signed in to change notification settings - Fork 183
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 getLastResponse...()
and request...()
in Clients
#391
Comments
Art4
added
enhancement
pending: help wanted
help and PRs are welcome
code quality
labels
Mar 12, 2024
This was referenced Oct 8, 2024
Closed
Art4
changed the title
Deprecate
Deprecate Oct 10, 2024
getLastResponseStatusCode
, getLastResponseContentType
and getLastResponseBody
in ClientsgetLastResponse...()
and request...()
in Clients
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 methodRedmine\Api\...::getLastResponse()
to get the last response made by the API class. The users should now use this newgetLastResponse()
method. Therefore the following methods should be deprecated and removed.Redmine\Client\Client::requestGet()
Redmine\Client\Client::requestPost()
Redmine\Client\Client::requestPut()
Redmine\Client\Client::requestDelete()
Redmine\Client\Client::getLastResponseStatusCode()
Redmine\Client\Client::getLastResponseContentType()
Redmine\Client\Client::getLastResponseBody()
Follows #341.
The text was updated successfully, but these errors were encountered: