You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Art4
changed the title
Deprecate getLastResponseStatusCode, getLastResponseContentType and getLastResponseBody in Clients
Deprecate getLastResponse...() and request...() in Clients
Oct 10, 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 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: