Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Allow injecting custom http client #514

Open
harolato-rentman opened this issue Jun 20, 2024 · 0 comments
Open

[Enhancement] Allow injecting custom http client #514

harolato-rentman opened this issue Jun 20, 2024 · 0 comments

Comments

@harolato-rentman
Copy link

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 ?

@harolato-rentman harolato-rentman changed the title Allow injecting custom http client [Enhancement] Allow injecting custom http client Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant