Skip to content

[Enhancement] Allow injecting custom http client  #514

Open
@harolato-rentman

Description

@harolato-rentman

Would be useful to have an option to inject your own http client instead of preset default Guzzle client or curl. For example injecting guzzle client where I can implement my custom middleware and logging.

Potentially can create a public method in DataService called setClient which would expect a parameter for \Psr\Http\Client\ClientInterface ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions