Skip to content

Feature request, extract the http client and support PSR-18 Http Clients #355

Open
@Richard87

Description

@Richard87

Hi!

I would love to use my own (Symfony) HttpClient for this package, instead of the built in Curl version.

Would you accept a PR to extract the Client Code into it's own class, and optionally provide a custom HttpClient?

For the why:

I want to use Symfony's HttpClient because it has tracing and devtools built in, and because it would simplify configuration. Basically keep all the HttpClient configurations at the same place, instead of each ApiClient doing their own thing :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions