-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.
Description
Describe the feature
It would be nice not to force the developers using this library to use the Guzzle HTTP client.
The choice of the HTTP client should be left to the developer.
Of course, Guzzle can still be used and declared as a dev dependency, reducing the amount of work for the change (being Guzzle itself fully compatible with PSR-18)
Use Case
I'd like to use this library, but I already use a different HTTP client that is PSR-18 compatible. Currently, I'm forced to use two clients to achieve the same result.
Proposed Solution
Replace the injection of GuzzleHttp\ClientInterface with Psr\Http\Client\ClientInterface
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
3.349.3
Environment details (Version of PHP (php -v)? OS name and version, etc.)
8.4.5 (but it's not relevant here)
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.