API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Http%21Ha...
* @see \Drupal\Core\Http\Client
There is no such class.
This should be replaced with whatever that class was replaced with, if there was a replacement. Check git history to understand when and why it was removed.
Issue fork drupal-3455110
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3455110-handlerstackconfigurator-has-see
changes, plain diff MR !8483
Comments
Comment #2
jagraj_singh_gill commentedI am working on this issue.
Comment #4
jagraj_singh_gill commentedI checked the history and found out that this has been removed under this issue : https://www.drupal.org/project/drupal/issues/2493911
Drupal\Core\Http\Client service has been removed. The recommended approach for handling HTTP requests now is to use GuzzleHttp\Client
This change facilitates easier updates and better security management by relying directly on Guzzle.
I have placed the MR to update the @see annotation to point to the new recommended approach. Please review.
Thank You !!
Comment #5
jagraj_singh_gill commentedComment #6
jagraj_singh_gill commentedComment #7
joachim commentedGood detective work! :)
Looks good.
Comment #12
longwaveBackported down to 10.3.x as a docs-only fix.
Committed and pushed e4c14cfdd0 to 11.x and 65efa85d48 to 11.0.x and cac111ab00 to 10.4.x and 0314d83ddd to 10.3.x. Thanks!