Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295701

Consider adopting php-http/guzzle6-adapter to get PSR-18 support without losing Guzzle's async support

$
0
0

Problem/Motivation

Drupal 8 ships with Guzzle.
As such it is somehow enforcing a particular library to be used for HTTP communication.

Proposed resolution

This is a proposal to adopt a more abstract library for Drupal 9:
Current proposals:

  1. Code Drupal against a PSR 18 service, so anything that implements it or have an adapter can be used. (initial patch in #11)
  2. Existing alternative: http://docs.php-http.org/en/latest/

Remaining tasks

Discussion.

User interface changes

None expected.

API changes

API addition. It's expected to be backwards compatible, as Guzzle is a supported backend.

Data model changes

None expected.

Release notes snippet

TBD.


Viewing all articles
Browse latest Browse all 295701


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>